import type { TransformCallback } from 'node:stream';
import type { BaseLogMessage, LogLevel } from '@mastra/core/logger';
import { LoggerTransport } from '@mastra/core/logger';
import { PinoLogger } from '@mastra/loggers';
declare class RedisTransport extends LoggerTransport {
    _transform(chunk: any, _encoding: string, callback: TransformCallback): void;
    _write(chunk: any, encoding?: string, callback?: (error?: Error | null) => void): boolean;
    _flush(): Promise<void>;
    _destroy(err: Error, cb: Function): Promise<void>;
    listLogs(_args: {
        fromDate?: Date;
        toDate?: Date;
        logLevel?: LogLevel;
        filters?: Record<string, any>;
        returnPaginationResults?: boolean;
        page?: number;
        perPage?: number;
    }): Promise<{
        logs: BaseLogMessage[];
        total: number;
        page: number;
        perPage: number;
        hasMore: boolean;
    }>;
    listLogsByRunId(_args?: {
        fromDate?: Date;
        toDate?: Date;
        logLevel?: LogLevel;
        filters?: Record<string, any>;
        returnPaginationResults?: boolean;
        page?: number;
        perPage?: number;
    }): Promise<{
        logs: BaseLogMessage[];
        total: number;
        page: number;
        perPage: number;
        hasMore: boolean;
    }>;
}
export declare const transport: RedisTransport;
export declare const closeLogger: () => Promise<void>;
export declare const logger: PinoLogger<never>;
export {};
//# sourceMappingURL=logger.d.ts.map