import { Logger as TypeORMLogger, QueryRunner } from 'typeorm';
import { Logger } from 'winston';
import * as winston from 'winston';
export declare const createWinstonLoggerConfig: () => {
    level: string;
    format: winston.Logform.Format;
    transports: (winston.transports.ConsoleTransportInstance | winston.transports.FileTransportInstance)[];
};
export declare const WinstonLoggerConfig: {
    level: string;
    format: winston.Logform.Format;
    transports: (winston.transports.ConsoleTransportInstance | winston.transports.FileTransportInstance)[];
};
export declare class WinstonTypeORMLogger implements TypeORMLogger {
    private readonly logger;
    constructor(logger: Logger);
    logQuery(query: string, parameters?: any[], queryRunner?: QueryRunner): void;
    logQueryError(error: string, query: string, parameters?: any[], queryRunner?: QueryRunner): void;
    logQuerySlow(time: number, query: string, parameters?: any[], queryRunner?: QueryRunner): void;
    logSchemaBuild(message: string, queryRunner?: QueryRunner): void;
    logMigration(message: string, queryRunner?: QueryRunner): void;
    log(level: 'log' | 'info' | 'warn' | 'error', message: any): void;
}
//# sourceMappingURL=winston.logger.d.ts.map