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
22 lines
No EOL
855 B
TypeScript
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
|