import { type Nullable } from '@silverhand/essentials'; import { type IdTokenClaims } from '../index.js'; import type { Requester } from '../types/index.js'; type Identity = { userId: string; details?: Record; }; type OrganizationData = { id: string; name: string; description: Nullable; }; export type UserInfoResponse = IdTokenClaims & { custom_data?: unknown; identities?: Record; organization_data?: OrganizationData[]; }; export declare const fetchUserInfo: (userInfoEndpoint: string, accessToken: string, requester: Requester) => Promise; export {};