import { Server, CustomTransportStrategy } from '@nestjs/microservices';
export interface RedisStreamsServerOptions {
    host: string;
    port: number;
    stream: string;
    group: string;
    consumer?: string;
    password?: string;
    tls?: any;
    blockTimeoutMs?: number;
    verbose?: boolean;
    deadLetterStream?: string;
}
export declare class RedisStreamsServer extends Server implements CustomTransportStrategy {
    private client;
    private options;
    private consumerName;
    private isRunning;
    private blockTimeoutMs;
    private verbose;
    private consumer;
    constructor(options: RedisStreamsServerOptions);
    listen(callback: () => void): Promise<void>;
    private pollLoop;
    close(): Promise<void>;
}
