import type { StoreConfig, Action, ThunkArgs } from '../../utils/store-types'; type PluginData = { plugin_slug: string; plugin_basename: string; plugin_version: string; plugin_homepage_url: string; plugin_support_url: string; plugin_contributing_url: string; plugin_settings_url: string; plugin_playground_url: string; wp_version: string; current_user_capabilities: Record; }; export declare enum ActionType { Unknown = "REDUX_UNKNOWN", ReceivePluginData = "RECEIVE_PLUGIN_DATA" } type UnknownAction = Action; type ReceivePluginDataAction = Action; export type CombinedAction = UnknownAction | ReceivePluginDataAction; export type State = { pluginData: PluginData | undefined; }; export type ActionCreators = typeof actions; export type Selectors = typeof selectors; type DispatcherArgs = ThunkArgs; declare const actions: { /** * Receives plugin data from the server. * * @since 0.4.0 * * @param pluginData - Plugin data received from the server, as key value pairs. * @returns Action creator. */ receivePluginData(pluginData: PluginData): ({ dispatch }: DispatcherArgs) => void; }; declare const selectors: { getPluginData: (state: State) => PluginData | undefined; getPluginSlug: { (): string | undefined; isRegistrySelector?: boolean; registry?: any; }; getPluginBasename: { (): string | undefined; isRegistrySelector?: boolean; registry?: any; }; getPluginVersion: { (): string | undefined; isRegistrySelector?: boolean; registry?: any; }; getPluginHomepageUrl: { (): string | undefined; isRegistrySelector?: boolean; registry?: any; }; getPluginSupportUrl: { (): string | undefined; isRegistrySelector?: boolean; registry?: any; }; getPluginContributingUrl: { (): string | undefined; isRegistrySelector?: boolean; registry?: any; }; getPluginSettingsUrl: { (): string | undefined; isRegistrySelector?: boolean; registry?: any; }; getPluginPlaygroundUrl: { (): string | undefined; isRegistrySelector?: boolean; registry?: any; }; getWpVersion: { (): string | undefined; isRegistrySelector?: boolean; registry?: any; }; currentUserCan: { (_state: State, capability: string, ...args: string[]): boolean | undefined; isRegistrySelector?: boolean; registry?: any; }; }; declare const storeConfig: StoreConfig; export default storeConfig; //# sourceMappingURL=self.d.ts.map