import type { DatabaseConfig } from "../DatabaseConfig.js"; import { type ValidEnvName, type ValidScriptFileName, type ValidScriptTimestamp } from "../script-name-parsing/index.js"; import { type SortedScripts } from "../script-utils.js"; import type { AbsolutePath, FileBaseName } from "../utils.js"; type GenerateSnapshotFn = OmitThisParameter>; /** * Creates snapshot files for all environments and archives the original scripts. */ export declare function createSnapshotAndArchiveCoveredScripts(opts: { sortedScripts: SortedScripts; snapshotArchivesDirectory: AbsolutePath; supportedEnvironments: readonly ValidEnvName[]; generateSnapshot: GenerateSnapshotFn; /** Only include scripts up to this name (lexicographically) */ upTo?: FileBaseName; logger?: { log: (msg: string) => void; }; }): Promise<{ snapshotTimestamp: ValidScriptTimestamp; newSnapshotFiles: ValidScriptFileName[]; archivedScripts: ValidScriptFileName[]; }>; export {}; //# sourceMappingURL=create-snapshot.d.ts.map