/** * Log Streams * Output stream management (console, file, error file) */ import { createWriteStream } from 'fs'; import type { DestinationStream } from 'pino'; import type { LogLevel } from './types.js'; /** * Get log file path for a specific date and type */ export declare function getLogPath(type?: 'app' | 'error' | 'audit' | 'access', date?: Date): string; /** * Initialize and get all output streams */ export declare function initializeStreams(): Array<{ stream: DestinationStream | NodeJS.WriteStream; level: LogLevel; }>; /** * Get all file streams for cleanup */ export declare function getFileStreams(): ReturnType[]; /** * Close all file streams gracefully */ export declare function closeStreams(): Promise;