/** Every explicit session-inbox wire version still supported by producers. */
export declare const SESSION_INBOX_WIRE_VERSIONS: readonly [1, 2, 3, 4, 5, 6];
export type SessionInboxWireVersion = (typeof SESSION_INBOX_WIRE_VERSIONS)[number];
/** Current persisted session-inbox wire version. */
export declare const SESSION_INBOX_WIRE_VERSION: 1 | 2 | 3 | 4 | 5 | 6;
/** Hook metadata field advertising the consumer's inbox wire capability. */
export declare const SESSION_INBOX_WIRE_VERSION_METADATA_KEY = "sessionInboxWireVersion";
/**
 * Hook metadata field advertising that the driver displays authorization
 * events raised by a workflow task itself. Drivers pinned before this marker
 * drop those events, so producers fail fast instead of waiting on a callback
 * no channel will render.
 */
export declare const WORKFLOW_TASK_AUTHORIZATION_METADATA_KEY = "workflowTaskAuthorization";
export declare const SESSION_INBOX_CONTEXT_KEY = "eve.sessionInbox";
/** Immutable inbox coordinates advertised by the receiving session's driver. */
export interface SessionInboxAddress {
    readonly sessionId: string;
    readonly version: number;
}
export declare function isSessionInboxAddress(value: unknown): value is SessionInboxAddress;
/**
 * The consumer wire selected before a producer persists a payload.
 *
 * Version 0 had two incompatible unversioned shapes, so its historical
 * variants remain explicit rather than pretending they were one protocol.
 */
export type SessionInboxWireTarget = {
    readonly variant: "deliver" | "send";
    readonly version: 0;
} | {
    readonly version: SessionInboxWireVersion;
};
export declare function isSessionInboxWireVersion(value: unknown): value is SessionInboxWireVersion;
/** Raised when a session inbox value violates its versioned wire contract. */
export declare class SessionInboxWireError extends Error {
    constructor(message: string);
}
