import { ConnectionAccountIntent, type McpConnectionAccountBinding } from "@opengeni/contracts"; /** Raised only after session-create storage has rolled back a known account * admission refusal. It does not refresh, remove or replace accepted identity. */ export declare class SessionCreateConnectionSelectionUnavailableError extends Error { readonly code = "SESSION_CREATE_CONNECTION_SELECTION_UNAVAILABLE"; readonly retryable = false; constructor(cause: unknown); } /** Match the driver record, not a wrapper's query/parameters or arbitrary * permission failure. These immutable trigger messages contain no identities. */ export declare function sessionCreateConnectionSelectionFailure(error: unknown): SessionCreateConnectionSelectionUnavailableError | null; /** NULL is a pre-account-routing receipt, not an empty accepted selection. * Never default it to [] (or default [] to NULL) during replay/inheritance. */ export declare function parseAcceptedMcpAccountBindings(value: unknown): McpConnectionAccountBinding[] | null; /** NULL marks a turn accepted before account intent existed. Its * continuations copy its exact accounts; it is never read as an empty intent. */ export declare function parseConnectionAccountIntent(value: unknown): ConnectionAccountIntent | null;