import type { AccountSetting } from '@farfetch/blackout-client'; import type { StoreState } from '../../types/index.js'; /** * Retrieves the error status of a account setting by its id. * * @param state - Application state. * @param settingId - Setting identifier. * * @returns Error information (`undefined` if there are no errors). */ export declare const getAccountSettingError: (state: StoreState, settingId: AccountSetting['id']) => import("@farfetch/blackout-client").BlackoutError | null | undefined; /** * Retrieves the loading state of a account setting by its id. * * @param state - Application state. * @param settingId - Setting identifier. * * @returns - Loading status of a setting. */ export declare const isAccountSettingLoading: (state: StoreState, settingId: AccountSetting['id']) => boolean | undefined; /** * Returns the fetched status. * * @param state - Application state. * @param settingId - Setting identifier. * * @returns - If account setting is fetched or not. */ export declare const isAccountSettingFetched: (state: StoreState, settingId: AccountSetting['id']) => boolean; /** * Returns a specific account setting by its id. * * @param state - Application state. * @param settingId - Setting identifier. * * @returns Setting normalized or undefined if nothing found. */ export declare const getAccountSetting: (state: StoreState, settingId: AccountSetting['id']) => AccountSetting | undefined;