type AnyFunction = (...args: any[]) => any; /** * Register a function as an internal logger helper so V8 callsites can skip it * by identity even if all code is bundled into one file. */ export declare function registerInternalCallerFunction(fn: AnyFunction): void; /** * Prefer V8 callsites in Node.js because they survive minification better than * function-name regexes. Fall back to stack parsing elsewhere. */ export declare function getCallingFilename(stack?: string): string | null; /** * Extract the calling filename from a stack trace string. * Finds the first frame that is NOT from this library, making it resilient to * minification or inlining that changes the number of internal frames. */ export declare function getCallingFilenameFromStack(stack: string): string | null; export {};