UNPKG

@woocommerce/data

Version:
20 lines 918 B
import { SelectFromMap, DispatchFromMap } from '@automattic/data-stores'; /** * Internal dependencies */ import { STORE_NAME } from './constants'; import * as selectors from './selectors'; import * as actions from './actions'; import { State } from './reducer'; import { WPDataActions, WPDataSelectors } from '../types'; import { PromiseifySelectors } from '../types/promiseify-selectors'; export * from './types'; export type { State }; export declare const ONBOARDING_STORE_NAME = "wc/admin/onboarding"; export type OnboardingSelector = SelectFromMap<typeof selectors> & WPDataSelectors; declare module '@wordpress/data' { function dispatch(key: typeof STORE_NAME): DispatchFromMap<typeof actions & WPDataActions>; function select(key: typeof STORE_NAME): OnboardingSelector; function resolveSelect(key: typeof STORE_NAME): PromiseifySelectors<OnboardingSelector>; } //# sourceMappingURL=index.d.ts.map