export type TransportContext = { sessionID?: string; agent?: string; modelID?: string; stablePrefixHash?: string; }; export declare function apiKeyWebSocketHeaders(apiKey: string): Record; export declare function oauthWebSocketHeaders(accessToken: string, accountId?: string, clientVersion?: string): Record; export declare function httpAuthHeaders(baseHeaders: HeadersInit | undefined, auth: { type: "api"; apiKey: string; } | { type: "oauth"; accessToken: string; accountId?: string; }, codexVersion?: string): Headers; export declare function transportIdentity(auth: { type: "api"; apiKey: string; } | { type: "oauth"; accessToken: string; accountId?: string; }, codexVersion?: string): { isOAuth: boolean; wsUrl: string; wsHeaders: Record; }; export declare function extractTransportContext(input?: HeadersInit): TransportContext & { forwardHeaders: Headers; }; //# sourceMappingURL=headers.d.ts.map