export declare function useConfig(): import("@tanstack/react-query").UseQueryResult<{
    agents: string[];
    providers: string[];
    defaults: {
        agent: string;
        provider: string;
        model: string;
        toolApproval?: "auto" | "dangerous" | "all" | "yolo";
        guidedMode?: boolean;
        reasoningText?: boolean;
        reasoningLevel?: "minimal" | "low" | "medium" | "high" | "max" | "xhigh";
        fullWidthContent?: boolean;
        autoCompactThresholdTokens?: number | null;
    };
}, Error>;
export declare function useModels(provider?: string): import("@tanstack/react-query").UseQueryResult<{
    models: Array<{
        id: string;
        label: string;
        toolCall?: boolean;
        reasoningText?: boolean;
        vision?: boolean;
        attachment?: boolean;
        free?: boolean;
        available?: boolean;
        unavailableReason?: string;
    }>;
    default: string;
    allowAnyModel?: boolean;
    dynamicModels?: boolean;
    label?: string;
}, Error>;
export declare function useAllModels(): import("@tanstack/react-query").UseQueryResult<import("..").AllModelsResponse, Error>;
export declare function useUpdateDefaults(): import("@tanstack/react-query").UseMutationResult<{
    success: boolean;
    defaults: {
        agent: string;
        provider: string;
        model: string;
        toolApproval?: "auto" | "dangerous" | "all" | "yolo";
        guidedMode?: boolean;
        reasoningText?: boolean;
        reasoningLevel?: "minimal" | "low" | "medium" | "high" | "max" | "xhigh";
        fullWidthContent?: boolean;
        autoCompactThresholdTokens?: number | null;
    };
}, Error, {
    agent?: string;
    provider?: string;
    model?: string;
    toolApproval?: "auto" | "dangerous" | "all" | "yolo";
    guidedMode?: boolean;
    reasoningText?: boolean;
    reasoningLevel?: "minimal" | "low" | "medium" | "high" | "max" | "xhigh";
    fullWidthContent?: boolean;
    autoCompactThresholdTokens?: number | null;
    scope?: "global" | "local";
}, {
    previousConfig: {
        agents: string[];
        providers: string[];
        defaults: {
            agent: string;
            provider: string;
            model: string;
            toolApproval?: "auto" | "dangerous" | "all" | "yolo";
            guidedMode?: boolean;
            reasoningText?: boolean;
            reasoningLevel?: "minimal" | "low" | "medium" | "high" | "max" | "xhigh";
            fullWidthContent?: boolean;
            autoCompactThresholdTokens?: number | null;
        };
    };
}>;
//# sourceMappingURL=useConfig.d.ts.map