import type { LexicalEditor } from 'lexical';
import type { ContentFormatType } from '../types';
/**
 * Export editor content to a downloadable file.
 */
export declare function exportEditorToFile(editor: LexicalEditor, format: ContentFormatType, filename?: string): Promise<void>;
/**
 * Import content from a file into the editor.
 */
export declare function importFileToEditor(editor: LexicalEditor, file: File, format?: ContentFormatType): Promise<void>;
