import type { StreamerOptions } from "./types";
type Listener = {
    (chunk: string): Promise<void> | void;
};
export declare class StringStreamer {
    #private;
    constructor(string: string, options?: StreamerOptions);
    string: string;
    size: number;
    chunkSize: number;
    listener?: Listener;
    isAborted: boolean;
    start(listener: Listener): void;
    abort(): void;
}
export {};
//# sourceMappingURL=StringStreamer.d.ts.map