import type { StoredSourceState } from "./state-store.js"; /** The Account deployment and wallet that collected an export; null is unknown. */ export type ExportOwner = { accountUrl: string; address: string; } | null; /** Accepted bytes and collection identity, independent of the current login. */ export interface SourceExportReceipt { version: 1; id: string; owner: ExportOwner; path: string; sha256: string; } /** Persisted receipts are untrusted; legacy or malformed records remain local. */ export declare function readExportReceipt(value: unknown): SourceExportReceipt | null; /** SHA-256 of the exact accepted bytes, before parsing or upload projection. */ export declare function exportDigest(bytes: Uint8Array): string; /** Unknown identities never match, even when both exports are unattributed. */ export declare function sameExportOwner(a: ExportOwner, b: ExportOwner): boolean; /** Failed and partially stored exports still occupy the accepted source slot. */ export declare function hasUnresolvedExport(source: StoredSourceState | undefined): boolean; /** A pending slot can only be replaced by its known collecting account. */ export declare function pendingExportBlockReason(source: StoredSourceState | undefined, selected: ExportOwner): string | null; //# sourceMappingURL=source-export.d.ts.map