import type { AgentId } from '../types.js';
export type VendorHandoffStorageMode = 'direct' | 'persisted';
export type VendorHandoffEligibilityReasonCode = 'storage_mode_unsupported' | 'handoff_unsupported' | 'vendor_handoff_id_missing' | 'experimental_disabled' | 'backend_disabled_by_account_settings';
export type VendorHandoffEligibility = Readonly<{
    eligible: true;
    vendorHandoffId: string;
}> | Readonly<{
    eligible: false;
    reasonCode: VendorHandoffEligibilityReasonCode;
}>;
export declare function resolveVendorHandoffIdFromSessionMetadata(agentId: AgentId, metadata: unknown): string | null;
export declare function evaluateVendorHandoffEligibility(input: Readonly<{
    agentId: AgentId;
    storageMode: VendorHandoffStorageMode;
    metadata: unknown;
    accountSettings?: Record<string, unknown> | null;
}>): VendorHandoffEligibility;
//# sourceMappingURL=vendorHandoffPolicy.d.ts.map