import { type Response, type ProfilingRequestMeta } from "../../../schemas/index"; import { type ServerProfilingContext } from "./context"; export type ServerProfiler = { markRequestParsed: (ms: number) => void; markRequestValidated: (ms: number) => void; startHandler: () => void; endHandler: () => void; serialize: (response?: Response, final?: boolean) => string; serializeError: (json: string) => string; getContext: () => ServerProfilingContext | undefined; }; export declare function createServerProfiler(meta?: ProfilingRequestMeta): ServerProfiler; //# sourceMappingURL=profiler.d.ts.map