/** * 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: { /** * Opens a panel. * * @since 0.4.0 * * @param panelId - Panel identifier. * @returns Action creator. */ openPanel(panelId: string): ({ registry }: DispatcherArgs) => void; /** * Closes a panel. * * @since 0.4.0 * * @param panelId - Panel identifier. * @returns Action creator. */ closePanel(panelId: string): ({ registry }: DispatcherArgs) => void; /** * Toggles a panel. * * If the panel is active, it will be closed. * If the panel is closed, it will be opened. * * @since 0.4.0 * * @param panelId - Panel identifier. * @returns Action creator. */ togglePanel(panelId: string): ({ dispatch, select }: DispatcherArgs) => void; }; declare const selectors: { isPanelActive: { (_state: State, panelId: string, initialOpen?: boolean | undefined): boolean; isRegistrySelector?: boolean; registry?: any; }; }; declare const storeConfig: StoreConfig; export default storeConfig; //# sourceMappingURL=panel.d.ts.map