export interface ServerProjectAcquisitionPlan { service: string; project: string; selector: { kind: "exact" | "tag"; value: string; }; allow_network: boolean; expected?: { service: string; project: string; snapshot: string; tree_digest: string; }; lock_action: "preserve" | "write" | "replace"; } export interface ServerProjectTreeInventoryWire { project: string; snapshot: string; treeDigest: string; entries: Array<{ path: string; kind: "file" | "directory"; bytes?: string; executable?: boolean; }>; } export interface ServerProjectSnapshotOptions { authenticatedOrigin?: string; authToken?: string | (() => string | null | Promise); fetch?: typeof globalThis.fetch; signal?: AbortSignal; etag?: string; range?: { start: number; end?: number; }; } export type ServerProjectSnapshotFetchOutcome = { kind: "snapshot"; inventory: ServerProjectTreeInventoryWire; etag?: string; } | { kind: "not-modified"; etag?: string; } | { kind: "partial"; bytes: Uint8Array; contentRange: string; etag?: string; }; export declare function fetchServerProjectSnapshot(plan: ServerProjectAcquisitionPlan, options?: ServerProjectSnapshotOptions): Promise; export declare function fetchServerProjectSnapshotResponse(plan: ServerProjectAcquisitionPlan, options?: ServerProjectSnapshotOptions): Promise; //# sourceMappingURL=server-project.d.ts.map