import { type SettingViewModel, type SettingHistoryDto } from '@/services/api/adminApi';
interface SettingsContext {
    settings: SettingViewModel[];
    refreshSettings: () => Promise<void>;
}
export declare function useSettingsSection(): {
    settings: SettingViewModel[];
    editedValues: Record<string, string>;
    saving: string | null;
    historyModal: {
        category: string;
        key: string;
    } | null;
    history: SettingHistoryDto[];
    loadingHistory: boolean;
    handleValueChange: (category: string, key: string, value: string) => void;
    hasChanges: (setting: SettingViewModel) => boolean;
    getDisplayValue: (setting: SettingViewModel) => string;
    getEditKey: (setting: SettingViewModel) => string;
    handleSave: (setting: SettingViewModel) => Promise<void>;
    handleReset: (setting: SettingViewModel) => Promise<void>;
    openHistory: (category: string, key: string) => Promise<void>;
    closeHistory: () => void;
};
export type { SettingsContext };
//# sourceMappingURL=useSettingsSection.d.ts.map