import type { FileSink } from "bun";
import { ServiceContainer } from "../ServiceContainer";
import type { LoggingServiceProvider } from "./LoggingServiceProvider";
import type { LogLevel } from "./types";
export declare class LoggingServiceContainer extends ServiceContainer {
    service: LoggingServiceProvider;
    static _name: string;
    writer: FileSink;
    isReady: boolean;
    private logsDirPath;
    private flushTimeout;
    private fileSize;
    private writerSize;
    private isCreatingFile;
    currentLogFilePath: string;
    constructor(service: LoggingServiceProvider);
    boot(): Promise<void>;
    newLogFile(): Promise<void>;
    log(level: LogLevel, message: string, metadata?: Record<string, any>): Promise<void>;
    tryFlush(): Promise<void>;
}
//# sourceMappingURL=LoggingServiceContainer.d.ts.map