export declare function resolveRegistryRecoveryProjection(input: { organizationId: string; deviceId: string; workspaceId: string; policyRevision: string; repositoryFingerprint: string; workspaces: unknown; repositoryAgents: unknown; }): { repositoryBindingId: string; repositoryAgentId: string; repositoryAgentKey: string; controlBranch: string; endpointId: string | null; name: string | null; defaultBranch: string | null; }; export declare function appendRecoveredWorkspace(records: readonly T[], recovered: T): { records: T[]; alreadyPresent: boolean; }; export declare function inspectRegistryRecoveryFile(path: string): Promise<{ kind: "absent" | "valid" | "corrupt_zero"; bytes: Buffer | null; records: T[]; hash: string | null; }>; export declare function backupRegistryRecoveryFile(input: { home: string; path: string; expectedBytes: Buffer | null; }): Promise; export declare function applyRegistryRecoveryFile(input: { home: string; path: string; expectedKind: 'absent' | 'corrupt_zero' | 'valid'; expectedHash: string | null; entry: T; }): Promise<{ state: "already_present"; backup: null; previousHash: string | null; restoredCount: number; } | { state: "recovered"; backup: string | null; previousHash: string | null; restoredCount: number; }>; //# sourceMappingURL=workspaceRegistryRecovery.d.ts.map