/**
 * File Preview Renderers
 *
 * Preview renderers for edit_file and write_file approval prompts.
 * - DiffPreview: for edit_file and write_file (overwrite)
 * - CreateFilePreview: for write_file (new file)
 */
import type { DiffDisplayData, FileDisplayData } from '@dexto/core';
interface DiffPreviewProps {
    data: DiffDisplayData;
    /** Optional header override (useful for plan tools, etc.) */
    header?: string;
}
/**
 * Enhanced diff preview for edit_file and write_file (overwrite) approval
 * Shows full diff with line backgrounds, hunk collapsing, and word-level highlighting
 */
export declare function DiffPreview({ data, header }: DiffPreviewProps): import("react/jsx-runtime").JSX.Element;
interface CreateFilePreviewProps {
    data: FileDisplayData;
    /** Custom header text (defaults to "Create file") */
    header?: string;
}
/**
 * Preview for write_file (new file creation) or plan review
 * Shows full file content with line numbers, white text
 */
export declare function CreateFilePreview({ data, header }: CreateFilePreviewProps): import("react/jsx-runtime").JSX.Element;
export {};
//# sourceMappingURL=FilePreviewRenderer.d.ts.map