import { z } from "zod"; import { type EccProfile, type ResolvedEccProfile } from "./index.js"; export declare const PROJECTED_SOURCE_LIMITS: { readonly maxReceiptBytes: number; readonly maxFileBytes: number; readonly maxAggregateBytes: number; readonly maxFiles: 512; readonly maxDiagnosticPathChars: 240; }; export interface ProjectionSourceTrust { id: string; evidencePath: string; evidenceSha256: string; sourceCommit: string; fileCount: number; totalBytes: number; aggregateSha256: string; } export declare const TRUSTED_PROJECTED_SOURCE: ProjectionSourceTrust; declare const closureEntrySchema: z.ZodObject<{ path: z.ZodString; rawSha256: z.ZodString; bytes: z.ZodNumber; fileType: z.ZodLiteral<"regular">; mode: z.ZodEnum<{ 100644: "100644"; 100755: "100755"; }>; }, z.core.$strict>; export type ProjectedSourceEntry = z.infer; export interface VerifiedProjectedSource extends ProjectedSourceEntry { contents: Buffer; } export interface VerifiedProjectionSourceClosure { id: string; aggregateSha256: string; fileCount: number; totalBytes: number; files: ReadonlyMap; } export declare function acquireProjectionSourceClosure(profile: EccProfile, resolved: ResolvedEccProfile, options: { sourceRoot: string; evidenceRoot: string; }, trust: ProjectionSourceTrust): VerifiedProjectionSourceClosure; export {};