ui-dev-content/dist/components/TransformerModal.d.ts
autocommit 8b284e01b9 chore: initial package split from monorepo
Package: @lilith/ui-dev-content
Split from: lilith/ui.git or lilith/build.git
Publish workflow: calls lilith/workflows/.forgejo/workflows/publish-npm.yml@main
2026-04-20 01:11:45 -07:00

22 lines
No EOL
855 B
TypeScript

/**
* TransformerModal - Modal UI for running transformers and reviewing changes
*
* Shows:
* - Initial state: Run transformer button
* - Results state: List of changes with severity indicators
* - Success state: No changes needed
* - Error state: Transformation failed
*/
import type { ContentHandle, ContentTransformer } from '../core/interfaces';
export interface TransformerModalProps {
isOpen: boolean;
onClose: () => void;
handle: ContentHandle;
transformer: ContentTransformer;
onApply: (transformedContent: string) => Promise<void>;
}
/**
* Modal for running transformers and reviewing changes before applying
*/
export declare function TransformerModal({ isOpen, onClose, handle, transformer, onApply, }: TransformerModalProps): import("react/jsx-runtime").JSX.Element;
//# sourceMappingURL=TransformerModal.d.ts.map