import { EventDeclaration, ReasoningProvider } from "./reasoningPlan"; /** * @public * The specification produced by the Live Plan phase. * Describes how to configure a Live API session for real-time video analysis. */ export interface LiveSpec { readonly systemInstruction: string; readonly periodicPrompt: string; readonly intervalSeconds: number; readonly events: EventDeclaration[]; readonly includeAudioOutput?: boolean; readonly explanation?: string; } /** * @public * Settings for creating a live plan session. */ export interface LivePlanSettings { query: string; provider: ReasoningProvider; intervalSeconds: number; events?: EventDeclaration[]; onProposedSpec?: (spec: LiveSpec) => void; onError?: (error: string) => void; contextDocuments?: string[]; } /** * @public * A session for interactively planning a LiveSpec via AI. * * This wraps a bidirectional gRPC stream for the Live Plan API, * allowing you to submit a query, refine the proposed spec, and * accept the final result. */ export declare class LivePlanSession { /** * Send feedback to refine the proposed spec */ refine(feedback: string): void; /** * Accept the current proposed spec, returning the final LiveSpec */ accept(): Promise; /** * Close the live plan session */ close(): void; } //# sourceMappingURL=livePlan.d.ts.map