export type TagSeverity = 'info' | 'warning' | 'danger'; export declare const TAG_SEVERITY_RANK: Record; export interface ProfilerTag { id: string; label: string; severity: TagSeverity; count?: number; detail?: string; } export declare const BUILTIN_TAG_IDS: { readonly slow: "slow"; readonly nPlusOne: "n-plus-one"; readonly error: "error"; readonly chatty: "chatty"; readonly largePayload: "large-payload"; readonly zeroRows: "zero-rows"; }; export type BuiltinTagId = (typeof BUILTIN_TAG_IDS)[keyof typeof BUILTIN_TAG_IDS]; export declare function maxTagSeverity(items: ReadonlyArray<{ tags?: ProfilerTag[]; }> | undefined): TagSeverity | null; export declare function upsertTag(list: ProfilerTag[], tag: ProfilerTag): void;