import type { WorkerQueryProfile } from '@vouchington/postgres/query-telemetry'; export interface WorkerProfileReporting { recordViolation: (message: string) => void; recordKind: string; diagnosticsEnvVar: string; output?: (line: string) => void; } export declare function reportFailure(profile: WorkerQueryProfile, stage: string, error: unknown, options: WorkerProfileReporting): void; export declare function finishProfile(profile: WorkerQueryProfile, options: WorkerProfileReporting): void;