import { CommandParser } from '../client/parser';
import { RedisArgument } from '../RESP/types';
import { transformStreamsMessagesReplyResp2, transformStreamsMessagesReplyResp3Compat } from './generic-transformers';
/**
 * Structure representing a stream to read from
 *
 * @property key - The stream key
 * @property id - The message ID to start reading from
 */
export interface XReadStream {
    key: RedisArgument;
    id: RedisArgument;
}
export type XReadStreams = Array<XReadStream> | XReadStream;
/**
 * Helper function to push stream keys and IDs to the command parser
 *
 * @param parser - The command parser
 * @param streams - Single stream or array of streams to read from
 */
export declare function pushXReadStreams(parser: CommandParser, streams: XReadStreams): void;
/**
 * Options for the XREAD command
 *
 * @property COUNT - Limit the number of entries returned per stream
 * @property BLOCK - Milliseconds to block waiting for new entries (0 for indefinite)
 */
export interface XReadOptions {
    COUNT?: number;
    BLOCK?: number;
}
declare const _default: {
    readonly IS_READ_ONLY: true;
    readonly parseCommand: (this: void, parser: CommandParser, streams: XReadStreams, options?: XReadOptions) => void;
    /**
     * Transform functions for different RESP versions
     */
    readonly transformReply: {
        readonly 2: typeof transformStreamsMessagesReplyResp2;
        readonly 3: typeof transformStreamsMessagesReplyResp3Compat;
    };
};
export default _default;
//# sourceMappingURL=XREAD.d.ts.map