/** * Hook for accessing and interacting with suggested follow-up questions. * Provides reactive access to questions and utilities for handling them. */ import type { Id } from '../types'; export interface UseSuggestedQuestionsOptions { /** Auto-clear questions when conversation changes */ autoClear?: boolean; /** Callback when questions are updated */ onQuestionsUpdate?: (questions: string[]) => void; } export interface UseSuggestedQuestionsReturn { /** Current suggested questions */ questions: () => string[]; /** Whether there are any questions available */ hasQuestions: () => boolean; /** Send a suggested question as a new message */ sendQuestion: (question: string) => Promise; } /** * Access suggested follow-up questions for a conversation. * * @example * ```tsx * const { questions, sendQuestion } = useSuggestedQuestions( * () => activeConversationId() * ); * * * {(q) => } * * ``` */ export declare function useSuggestedQuestions(conversationId: () => Id | undefined, options?: UseSuggestedQuestionsOptions): UseSuggestedQuestionsReturn; //# sourceMappingURL=useSuggestedQuestions.d.ts.map