export type LogFn = { (obj: T, msg?: string, ...args: any[]): void; (obj: unknown, msg?: string, ...args: any[]): void; (msg: string, ...args: any[]): void; }; /** * Minimal logger interface used for emitting threshold-exceeded warnings. * The shape is intentionally pino-compatible so common structured loggers can be * passed in directly. */ export type Logger = { warn: LogFn; }; /** * Default logger used by the executors when no `logger` option is passed. Backed by * `console.warn` — only the `warn` method is exposed (the rest of `console` is not * part of the surface area). * * The wrapper resolves `console.warn` at call time so test spies on `console.warn` * (and any later console replacement) are picked up. */ export declare const defaultLogger: Logger;