import { type ScanSourceDeclaration } from './scanner.js'; export interface AuthorPackFile { readonly path: string; readonly bytes: Uint8Array; readonly digest: string; } export interface AuthorPackClosure { readonly root: string; readonly sourcePath: string; readonly files: readonly AuthorPackFile[]; readonly declarations: readonly ScanSourceDeclaration[]; readonly dependencies: Readonly>; readonly identities: ReadonlyMap; readonly manifestRevision: string; } export declare function authorFileDigest(bytes: Uint8Array): string; /** Pack identities select asset owners; literal imports and URLs select code and resource bytes. */ export declare function collectAuthorPackClosure(projectRoot: string, sourcePath: string): Promise; export declare function assertAuthorPackUnchanged(closure: AuthorPackClosure): Promise; //# sourceMappingURL=author-closure.d.ts.map