declare function resolveLogFile(env?: NodeJS.ProcessEnv): string; type LogSink = (level: string, line: string) => void; /** Absolute path of the active plugin log file. */ export declare function getPluginLogPath(): string; export declare const pluginLog: { error(...args: unknown[]): void; warn(...args: unknown[]): void; info(...args: unknown[]): void; debug(...args: unknown[]): void; }; export declare const __test: { /** Redirect log lines to a test sink (and still attempt file write). */ setSink(sink: LogSink | null): void; /** Re-resolve path/mirror from env (tests that mutate process.env). */ reloadFromEnv(env?: NodeJS.ProcessEnv): void; getLogPath: () => string; resolveLogFile: typeof resolveLogFile; }; export {};