import type { KnowledgeDocument, File as FileType } from './types'; interface FileEditProps { document: KnowledgeDocument | FileType; onCancel: () => void; onSave: () => void | Promise; onFileUpdate?: (fileId: string, content: string) => void; } export declare function FileEdit({ document, onCancel, onSave, onFileUpdate }: FileEditProps): import("react/jsx-runtime").JSX.Element; export {};