import type { DhfDocument } from './document-ir.js'; /** Export format identifier */ export type DhfExportFormat = 'html' | 'md' | 'docx' | 'pdf'; /** Result of an export operation */ export interface DhfExportResult { format: DhfExportFormat; /** File content (string for text formats, Buffer for binary) */ content: string | Buffer; /** Suggested file extension */ extension: string; /** MIME type */ mimeType: string; } /** Export plugin interface */ export interface DhfExportPlugin { format: DhfExportFormat; extension: string; mimeType: string; render(doc: DhfDocument): Promise; } export declare function registerPlugin(plugin: DhfExportPlugin): void; export declare function getPlugin(format: DhfExportFormat): DhfExportPlugin | undefined; export declare function getAvailableFormats(): DhfExportFormat[]; //# sourceMappingURL=export-plugin.d.ts.map