import type { RepeatedAnnotation, RequestQuerySummary } from './types.mts'; export declare const REQUEST_PROFILE_PREFIX = "[pg-request-profile]"; /** A parsed request profile line. */ export interface ParsedRequestProfileLine { route: string; queries: number; serialDepth: number; repeats: RepeatedAnnotation[]; } /** * One stderr line for a request, or null when it has nothing to report and `all` is off. * Annotations are written verbatim, so one containing a comma does not survive parsing. */ export declare function formatRequestProfileLine(route: string, summary: RequestQuerySummary, options: { all: boolean; }): string | null; /** * Parse a line containing the profile prefix (leading log noise is skipped), or undefined when it * is malformed. The inverse of `formatRequestProfileLine`. */ export declare function parseRequestProfileLine(line: string): ParsedRequestProfileLine | undefined;