import { EventEmitter } from "events";
export declare function getCartesiaWsUrl(): string;
export declare class CartesiaStream extends EventEmitter {
    private ws;
    private contextId;
    private isReady;
    constructor(contextId: string);
    ready(): Promise<void>;
    send(text: string, cont?: boolean): void;
    flush(): void;
    close(): void;
}
