import OidcProfile from "../schemas/OidcProfile"; /** * Map OIDC claims to normalized profile * * Extracts standard OIDC claims from the ID token and UserInfo response * and maps them to a consistent profile structure. * * Standard OIDC claims reference: * https://openid.net/specs/openid-connect-core-1_0.html#StandardClaims * * @param claims - OIDC claims from ID token and/or UserInfo endpoint * @returns Normalized user profile */ export declare function mapClaimsToProfile(claims: Record): OidcProfile; /** * Extract custom claims using claim mapping configuration * * Allows extracting custom claims from the ID token using dot notation. * Supports nested claim paths. * * @param claims - OIDC claims from ID token * @param claimMapping - Map of field names to claim paths * @returns Object with extracted custom claims * * Example: * ```typescript * const claims = { * sub: '123', * email: 'user@example.com', * 'custom:department': 'Engineering', * 'custom:role': 'Admin', * groups: ['engineers', 'admins'] * }; * * const mapping = { * department: 'custom:department', * role: 'custom:role', * groups: 'groups' * }; * * const custom = extractCustomClaims(claims, mapping); * // { department: 'Engineering', role: 'Admin', groups: ['engineers', 'admins'] } * ``` */ export declare function extractCustomClaims(claims: Record, claimMapping: Record): Record; //# sourceMappingURL=claims-mapper.d.ts.map