export declare const EMBEDDED_BUNDLE_CHECKSUMS_FILE = "SHA256SUMS"; export declare const EMBEDDED_BUNDLE_EXPLORES_FILE = "explores.json"; export declare const EMBEDDED_BUNDLE_PREVIOUS_DIRECTORY = "previous"; export type EmbeddedBundle = { directory: string; version: string; checksums: ReadonlyMap; }; export declare const getEmbeddedDatabaseFileName: (dataset: string) => string; export declare const parseEmbeddedBundleChecksums: (text: string) => Map; /** Identifies a database and the explores compiled from it, so a change to either gives a new version. */ export declare const getEmbeddedBundleVersion: (checksums: ReadonlyMap, dataset: string) => string; export declare const readEmbeddedBundle: (directory: string, dataset: string) => EmbeddedBundle | null; export declare const getFileSha256: (filePath: string) => string; /** Returns the path of a bundle file after checking it against the bundle's checksum. */ export declare const verifyEmbeddedBundleFile: (bundle: EmbeddedBundle, fileName: string) => string; export declare const readEmbeddedBundles: (baseDirectory: string, dataset: string) => { current: EmbeddedBundle | null; previous: EmbeddedBundle | null; }; /** * Finds the database for a bundle version among the current bundle and the * one retained from the previous release. Two versions can share a database * file, so the match is by checksum rather than by directory. */ export declare const resolveEmbeddedBundleDatabasePath: (baseDirectory: string, dataset: string, bundleVersion: string) => string; //# sourceMappingURL=duckdbEmbeddedBundle.d.ts.map