import Transport from "winston-transport";
import type sinon from "sinon";
type Spy = sinon.SinonSpy<unknown[]>;
type TransportOptions = ConstructorParameters<typeof Transport>[0];
export declare class SpyTransport extends Transport {
    private readonly spy;
    constructor(winstonOptions: TransportOptions, spyOptions: {
        spy: Spy;
    });
    log(info: unknown, callback: () => void): void;
}
export declare function spyLogIncludes(spy: Spy, messageIndex: number, value: string): boolean;
export declare function lastSpyLogIncludes(spy: Spy, value: string): boolean;
export {};
//# sourceMappingURL=SpyTransport.d.ts.map