import { type ReviewQueueSessionState, type ReviewWorkbenchResult } from "../../src/review-workbench/review-workbench.js"; import type { ReviewSessionEvent } from "../../src/review-resource.js"; export interface FacilityCredentialRecord { readonly id: string; readonly credential: unknown; readonly appliedReviewItemNames: readonly string[]; } export type FacilityCredentialApplyPreparation = { readonly ok: true; readonly mutation: { readonly recordId: string; readonly credential: unknown; readonly reviewItemName: string; readonly selectedCandidateId: string; readonly actorId: string; readonly appliedAt: string; }; readonly result: ReviewWorkbenchResult; } | { readonly ok: false; readonly message: string; }; export declare function prepareFacilityCredentialServerApply(input: { readonly currentRecord: FacilityCredentialRecord; readonly reviewSessionSnapshot: ReviewQueueSessionState; readonly events: readonly ReviewSessionEvent[]; readonly actorId: string; readonly appliedAt: string; }): FacilityCredentialApplyPreparation; export declare const facilityCredentialCurrentRecordExample: FacilityCredentialRecord;