import type { ApiClient } from "./config.js"; declare const RECEIPT_VERSION: 2; export declare const PUSH_RECEIPT_RELATIVE_PATH = ".veryfront/push-receipt.json"; export interface SourceFile { path: string; content: string; } export interface PushReceipt { version: typeof RECEIPT_VERSION; controlPlane: string; projectId: string; projectSlug: string; branch: string; commitSha: string | null; sourceDigest: string; clean: boolean; pushedAt: string; } export interface GitSource { commitSha: string | null; clean: boolean; } export interface ProjectTarget { id: string; slug: string; } interface PushReceiptExpectation { controlPlane: string; projectId: string; projectSlug: string; branch: string; commitSha?: string | null; clean?: boolean; } export declare function computeSourceDigest(files: SourceFile[]): Promise; export declare function normalizeControlPlane(apiUrl: string): string; export declare function getProjectTarget(client: ApiClient, projectReference: string): Promise; export declare function resolveGitSource(projectDir: string): Promise; export declare function areSourceFilesTracked(projectDir: string, files: readonly SourceFile[]): Promise; export declare function writePushReceipt(projectDir: string, receipt: Omit & { pushedAt?: string; }): Promise; export declare function readPushReceipt(projectDir: string): Promise; export declare function clearPushReceipt(projectDir: string): Promise; export declare function validatePushReceipt(receipt: PushReceipt, expected: PushReceiptExpectation): string | null; export {}; //# sourceMappingURL=deployment-provenance.d.ts.map