UNPKG

@cocalc/project

Version:
8 lines (7 loc) 517 B
import { SyncTable } from "@cocalc/sync/table"; import { SyncDoc } from "@cocalc/sync/editor/generic/sync-doc"; import { Client } from "@cocalc/sync/editor/generic/types"; export declare function init_syncdoc(client: Client, synctable: SyncTable, logger: any): void; export declare function get_syncdoc(path: string): SyncDoc | undefined; export declare function syncdoc_call(path: string, logger: any, mesg: any): Promise<string>; export declare function close_all_syncdocs_in_tree(filename: string): Promise<void>;