import * as React from 'react'; export interface PromptFieldState { value: string; disabled: boolean; recording: boolean; } export interface PromptFieldContextValue { state: PromptFieldState; lang: string | undefined; onValueChange: (value: string) => void; onRecordingChange: (recording: boolean) => void; onSubmit: (prompt: string) => void; onError: ((error: string) => void) | undefined; } export declare const PromptFieldContext: React.Context; export declare function usePromptFieldContext(): PromptFieldContextValue;