UNPKG

@dineug/erd-editor

Version:

Entity-Relationship Diagram Editor

13 lines (12 loc) 539 B
import { AppContext } from '../../components/appContext'; type ImportOptions = { type: 'json' | 'sql'; op: 'set' | 'diff'; accept: string; }; type ImportFileCallback = (options: ImportOptions) => void; export declare function setImportFileCallback(callback: ImportFileCallback | null): void; export declare function importJSON({ store, emitter }: AppContext): void; export declare function importSchemaSQL({ store, emitter }: AppContext): void; export declare function importDiffJSON({ emitter }: AppContext): void; export {};