import { type MutableRefObject } from 'react';
import type { StoreApi } from 'zustand';
import type { PersistedUserSettings, UserSettingsKey } from '../../user-settings-store';
import type { ViewStore } from '../createViewStore';
type UseViewStoreSettingsSyncParams = {
    storeRef: MutableRefObject<StoreApi<ViewStore> | null>;
    isMobileRef: MutableRefObject<boolean>;
    onSettingChange?: <K extends UserSettingsKey>(key: K, value: PersistedUserSettings[K]) => void;
};
export declare const useViewStoreSettingsSync: ({ storeRef, isMobileRef, onSettingChange, }: UseViewStoreSettingsSyncParams) => void;
export {};
//# sourceMappingURL=useViewStoreSettingsSync.d.ts.map