import { type Atom } from '@effect-atom/atom-react';
/**
 * Hook to read and update a settings atom.
 * Returns the current value and an update function.
 */
export declare const useSettingsState: <T>(atom: Atom.Writable<T>) => {
    settings: T;
    updateSettings: (fn: (current: T) => T) => void;
};
//# sourceMappingURL=useSettingsState.d.ts.map