/** * Audio Manager * * Manages audio overview generation in NotebookLM notebooks. * Audio overviews are AI-generated podcast-style summaries of notebook content. */ import { StudioManagerBase } from "./studio-manager-base.js"; export interface AudioStatus { status: "not_started" | "generating" | "ready" | "failed" | "unknown"; progress?: number; duration?: number; estimatedTimeRemaining?: number; } export interface GenerateAudioResult { success: boolean; status: AudioStatus; error?: string; } export interface DownloadAudioResult { success: boolean; filePath?: string; size?: number; error?: string; } export declare class AudioManager extends StudioManagerBase { protected readonly logName = "audio-manager"; protected readonly navigateDelay: { min: number; max: number; }; /** * Generate an audio overview for a notebook */ generateAudioOverview(notebookUrl: string): Promise; /** * Check the current audio status for a notebook */ getAudioStatus(notebookUrl: string): Promise; /** * Internal: Check audio status on current page */ private checkAudioStatusInternal; /** * Download the generated audio file */ downloadAudio(notebookUrl: string, outputPath?: string): Promise; }