import { TaggedExpression } from '../types/expressions'; import { MigrationPathAndFiles } from '../types/migrations'; export declare const loadFqlSnippet: (p: string) => Promise; /** * Fundamentally the same as `loadJsResource` with a small tweak: * esbuild would output this as `.js` which is fine, however the internal * filename is still `.ts`. So we manually replace the extension before * continuing. */ export declare const loadTsResource: (p: string) => Promise; export declare const loadJsResource: (p: string) => Promise; export declare const loadFqlResource: (p: string) => Promise; export declare const loadApplicationFile: (file: string) => Promise; export declare const writeApplicationFile: (file: string, content: string) => Promise; export declare const retrieveAllResourcePaths: (atChildDbPath?: string[], ignoreChildDbs?: boolean) => Promise; export declare const retrieveAllResourceChildDb: (atChildDbPath?: string[]) => Promise; export declare const retrieveAllResourceChildDbPaths: (fullPath: string, childDbsDirNAme: string) => Promise; export declare const retrieveAllMigrations: (atChildDbPath?: string[]) => Promise; export declare const retrieveLastMigrationVersionAndPathsForMigrationBefore: (atChildDbPath: string[], before: string | null, ignoreChildDbs?: boolean) => Promise; export declare const generateDefaultDirs: () => Promise; export declare const generateMigrationDir: () => Promise; export declare const deleteMigrationDir: () => Promise; export declare const deleteTempDir: () => Promise; export declare const arrayToApplicationPath: (filePath: string[]) => string; export declare const writeNewMigration: (atChildDbPath: string[], migrations: TaggedExpression[], time: string) => Promise; export declare const writeNewMigrationDir: (atChildDbPath: string[], time: string) => Promise; export declare const filePathToDatabase: (childDbFolderName: string, filePath: string) => string[];