import type { Profile } from '../interfaces/profile.interface.js'; export type SummaryPrimitive = string | number | boolean; export interface ProfileSummary { readonly token: string; readonly traceId: string; readonly createdAt: number; readonly type: string; readonly method?: string; readonly url?: string; readonly statusCode?: number; readonly duration: number; readonly hasExceptions: boolean; readonly tags: string; readonly search: string; readonly attributes: Record; } export type IndexAttributesProvider = (profile: Profile) => Record; export declare function summarizeProfile(profile: Profile, getAttributes?: IndexAttributesProvider): ProfileSummary;