@dineug/erd-editor
Version:
Entity-Relationship Diagram Editor
10 lines (9 loc) • 442 B
TypeScript
type ExportOptions = {
fileName: string;
};
type ExportFileCallback = (blob: Blob, options: ExportOptions) => void;
export declare function setExportFileCallback(callback: ExportFileCallback | null): void;
export declare function exportJSON(json: string, name?: string): void;
export declare function exportSchemaSQL(sql: string, name?: string): void;
export declare function exportPNG(root: HTMLElement, name?: string): void;
export {};