/** * Lightweight phase timing for factory boot and hot request paths. * * Deliberately not a metrics framework: structured stderr lines that can be * grepped (`[factory:timing]`) and diffed across runs to localize slow boot * phases and slow per-request dependencies. */ /** Run `fn`, always logging its duration under `phase`. Boot-phase use. */ export declare function timedPhase(phase: string, fn: () => Promise): Promise; /** * Run `fn`, logging only when it exceeds `thresholdMs`. Request-path use, * where per-request logging would be noise but slow outliers must surface. */ export declare function timedAboveThreshold(phase: string, thresholdMs: number, fn: () => Promise): Promise; //# sourceMappingURL=timing.d.ts.map