/**
 * Core State Store - 核心状态管理
 *
 * 这是整个 prompt-kit 的核心状态存储，管理全局应用状态
 * 包括：当前聊天会话、全局错误、加载状态、UI配置等
 */
import { ChatSession, Attachment } from "../types";
export type ThemeMode = "light" | "dark";
export type Language = "us" | "cn";
export declare const coreStore$: import("@legendapp/state").Observable<{
    currentChat: ChatSession | null;
    error: string | null;
    isLoading: boolean;
    isDeepThinkingEnabled: boolean;
    ui: {
        theme: ThemeMode;
        language: Language;
        attachmentPreviewDialog: {
            open: boolean;
            attachment: Attachment | null;
        };
    };
}>;
export declare const coreComputed$: import("@legendapp/state").Observable<{
    hasError: () => boolean;
    isReady: () => boolean;
}>;
export declare const coreActions: {
    setLoading: (isLoading: boolean) => void;
    setError: (error: string | null) => void;
    clearError: () => void;
    setCurrentChat: (chat: ChatSession | null) => void;
    switchChat: (chat: ChatSession | null) => void;
    setAttachmentPreviewDialog: (attachment: Attachment | null) => void;
    closeAttachmentPreviewDialog: () => void;
    toggleDeepThinking: () => void;
    setDeepThinking: (enabled: boolean) => void;
    setTheme: (theme: ThemeMode) => void;
    toggleTheme: () => void;
    setLanguage: (language: Language) => void;
};
