import { type Result } from '@forgeax/engine-types'; import type { PackAuthoringError } from './pack-authoring.js'; import type { ScriptablePackSourceClosureEntry } from './scriptable-pack.js'; export type ScriptablePackImportResolver = (importer: string, specifier: string) => Promise; export interface ScriptablePackSourceSnapshot { inventory(sourcePath: string, sourceText?: string, resolveImport?: ScriptablePackImportResolver): Promise; readText(path: string): Promise; digest(path: string): Promise; moduleSources(sourcePath: string): Promise<{ readonly entry: string; readonly sources: Record; }>; verify(): Promise>; } /** The build owner retains one snapshot; a later build always starts a new one. */ export declare function createScriptablePackSourceSnapshot(): ScriptablePackSourceSnapshot; //# sourceMappingURL=scriptable-pack-source-snapshot.d.ts.map