/** * Internal dependencies */ import type { StoreConfig, Action, ThunkArgs } from '../../utils/store-types'; export declare enum ActionType { Unknown = "REDUX_UNKNOWN" } type UnknownAction = Action; export type CombinedAction = UnknownAction; export type State = Record; export type ActionCreators = typeof actions; export type Selectors = typeof selectors; type DispatcherArgs = ThunkArgs; declare const actions: { /** * Sets a preference. * * @since 0.4.0 * * @param name - Preference name. * @param value - Preference value. * @returns Action creator. */ setPreference(name: string, value: unknown): ({ registry }: DispatcherArgs) => void; /** * Toggles a preference. * * @since 0.4.0 * * @param name - Preference name. * @returns Action creator. */ togglePreference(name: string): ({ registry, select }: DispatcherArgs) => void; }; declare const selectors: { getPreference: { (_state: State, name: string): unknown; isRegistrySelector?: boolean; registry?: any; }; }; declare const storeConfig: StoreConfig; export default storeConfig; //# sourceMappingURL=preferences.d.ts.map