import { default as default_2 } from 'react';
import { JSX } from 'react/jsx-runtime';
import { UIMessage } from '@ag-kit/ui-react';

declare interface AgentConfig {
    serverUrl: string;
    agentPath: string;
}

export declare function AgentSelector({ agentConfigs, onAgentSelect, title, description }: AgentSelectorProps): JSX.Element;

declare interface AgentSelectorProps {
    agentConfigs: Record<string, AgentConfig>;
    onAgentSelect?: (agent: string) => void;
    title?: string;
    description?: string;
}

export declare const AgKitChat: default_2.ForwardRefExoticComponent<AgKitChatProps & default_2.RefAttributes<HTMLDivElement>>;

export declare interface AgKitChatProps {
    className?: string;
    title?: string;
    suggestions?: ChatSuggestion[];
    status?: "idle" | "submitted" | "streaming" | "error";
    onMessageSend?: (message: string) => unknown;
    onSuggestionSelect?: (suggestion: ChatSuggestion) => void;
    placeholder?: string;
    welcomeMessage?: string;
    uiMessages: UIMessage[];
    error?: unknown;
    showFooter?: boolean;
}

export declare interface ChatSuggestion {
    id: string;
    text: string;
    category?: string;
}

export { }
