/**
 * @internal
 * Interface for the parent request that the input stream delegates to.
 */
interface ISpeechSynthesisRequestInputStreamHost {
    onTextPieceReceived(text: string): void;
    onInputStreamClosed(): void;
}
/**
 * Represents an input stream for speech synthesis request text streaming.
 * Note: This class is in preview and may be subject to change in future versions.
 * @class SpeechSynthesisRequestInputStream
 */
export declare class SpeechSynthesisRequestInputStream {
    private privParent;
    private privClosed;
    /**
     * Constructor for internal use.
     * @param parent The parent SpeechSynthesisRequest.
     */
    constructor(parent: ISpeechSynthesisRequestInputStreamHost);
    /**
     * Writes the specified text to the input stream.
     * @param text The text to be written to the input stream.
     */
    write(text: string): void;
    /**
     * Closes the input stream, signaling that no more text will be written.
     */
    close(): void;
    /**
     * Gets whether the input stream is closed.
     */
    get isClosed(): boolean;
}
export {};
