interface AITextSession {
    clone(): AITextSession;
    destroy(): void;
    prompt(input: string): Promise<string>;
    promptStreaming(input: string): ReadableStream<any>;
}

Methods