/** * Beltic-Credentials Header Parsing * * Utilities for parsing the Beltic-Credentials header from incoming requests. */ /** * Header name for Beltic credentials transport. */ export declare const BELTIC_CREDENTIALS_HEADER = "Beltic-Credentials"; /** * Parsed credentials from the Beltic-Credentials header. */ export interface ParsedCredentials { /** The agent credential JWT (always present) */ agentJwt: string; /** The delegation credential JWT (optional) */ delegationJwt?: string; } /** * Parse the Beltic-Credentials header value. * * @param headerValue - The header value (comma-separated JWTs) * @returns Parsed credentials object * @throws BelticError if the header format is invalid */ export declare function parseCredentialsHeader(headerValue: string): ParsedCredentials; /** * Extract the Beltic-Credentials header from a headers object. * Handles case-insensitive header names. */ export declare function getCredentialsHeader(headers: Headers | Record | Map): string | undefined; /** * Check if credentials are present in headers. */ export declare function hasCredentialsHeader(headers: Headers | Record | Map): boolean; //# sourceMappingURL=credentials-header.d.ts.map