import type { ChatThreadScope } from "./use-chat-threads.js"; export interface AgentDynamicSuggestionContext { navigation: unknown; selection: unknown; pendingSelection: unknown; url: unknown; scope?: ChatThreadScope | null; } export interface AgentDynamicSuggestionsConfig { enabled?: boolean; max?: number; includeStatic?: boolean; getSuggestions?: (context: AgentDynamicSuggestionContext) => string[]; pollMs?: number; } export type AgentDynamicSuggestionsOption = boolean | AgentDynamicSuggestionsConfig; export interface AgentDynamicSuggestionsResult { suggestions: string[] | undefined; isLoading: boolean; } interface UseAgentDynamicSuggestionsOptions { staticSuggestions?: readonly string[]; dynamicSuggestions?: AgentDynamicSuggestionsOption; browserTabId?: string; scope?: ChatThreadScope | null; enabled?: boolean; } interface NormalizedAgentDynamicSuggestionsConfig { enabled: boolean; max: number; includeStatic: boolean; getSuggestions?: (context: AgentDynamicSuggestionContext) => string[]; pollMs: number; } export declare function normalizeAgentDynamicSuggestionsConfig(option?: AgentDynamicSuggestionsOption): NormalizedAgentDynamicSuggestionsConfig; export declare function buildDynamicAgentSuggestions(context: AgentDynamicSuggestionContext): string[]; export declare function dedupeSuggestions(suggestions: readonly string[]): string[]; export declare function mergeAgentSuggestions(options: { dynamicSuggestions: readonly string[]; staticSuggestions?: readonly string[]; includeStatic: boolean; max: number; }): string[]; export declare function useAgentDynamicSuggestionsResult(options: UseAgentDynamicSuggestionsOptions): AgentDynamicSuggestionsResult; export declare function useAgentDynamicSuggestions(options: UseAgentDynamicSuggestionsOptions): string[] | undefined; export {};