import { LogTransport, LogEntry, LogLevel, DatabaseTransportOptions } from '../types'; /** * Database transport for storing logs in a database * This is a base implementation that can be extended for specific database types */ export declare class DatabaseTransport implements LogTransport { name: string; level: LogLevel; private tableName; private isConnected; private connectionPool?; private writeQueue; private isWriting; constructor(options: DatabaseTransportOptions); write(entry: LogEntry): Promise; /** * Initializes database connection * This is a placeholder implementation - extend for specific database types */ private initializeConnection; /** * Processes the write queue */ private processWriteQueue; /** * Writes a batch of entries to the database */ private writeBatch; /** * Prepares a log entry for database storage */ private prepareRecord; /** * Generates a unique ID for the log entry */ private generateId; flush(): Promise; close(): Promise; /** * Gets transport status */ getStatus(): { connected: boolean; queueSize: number; tableName: string; }; } //# sourceMappingURL=database.d.ts.map