/// <reference types="node" />
import { Readable, ReadableOptions } from 'stream';
import { Consumable } from 'rx-flowable';
export interface StringFormat {
    opening?: string;
    closing?: string;
    separator: string;
    stringify(value: any): string;
}
export declare class StringReadable extends Readable {
    private index;
    private subs;
    private next?;
    constructor(source: Consumable<any>, format: StringFormat, opts?: ReadableOptions);
    _read(size: number): void;
    _destroy(error: Error | null, callback: (error?: Error | null) => void): void;
}
