import { l as AiClient, q as PromptVariables, d as AiMessage, n as AiChatInputOptions, h as AiChatResponse } from './types-DgACCUpT.js';

interface AiChatDialogBaseProps {
    client: AiClient;
    title?: string;
    placeholder?: string;
    systemPrompt?: string;
    template?: string;
    templateVariables?: PromptVariables;
    initialMessages?: AiMessage[];
    requestOptions?: Omit<AiChatInputOptions, 'template' | 'variables'>;
    onResponse?: (response: AiChatResponse) => void;
    onError?: (error: Error) => void;
}
interface AiChatDialogProps extends AiChatDialogBaseProps {
    open: boolean;
    onOpenChange?: (open: boolean) => void;
}
interface AiUiConfig {
    apiKey: string;
    baseUrl: string;
    model: string;
    systemPrompt: string;
    template: string;
    temperature: number;
    topP: number;
    maxTokens: number;
}
interface AiConfigPageProps {
    storageKey?: string;
    initialConfig?: Partial<AiUiConfig>;
    title?: string;
    description?: string;
    onSave?: (config: AiUiConfig) => void;
    onChange?: (config: AiUiConfig) => void;
}

export type { AiChatDialogBaseProps as A, AiChatDialogProps as a, AiUiConfig as b, AiConfigPageProps as c };
