/**
 * Internal dependencies
 */
import type { StoreConfig, Action, ThunkArgs } from '../../utils/store-types';
export declare enum ActionType {
    Unknown = "REDUX_UNKNOWN"
}
type UnknownAction = Action<ActionType.Unknown>;
export type CombinedAction = UnknownAction;
export type State = Record<string, never>;
export type ActionCreators = typeof actions;
export type Selectors = typeof selectors;
type DispatcherArgs = ThunkArgs<State, ActionCreators, CombinedAction, Selectors>;
declare const actions: {
    /**
     * Opens a modal.
     *
     * @since 0.4.0
     *
     * @param modalId - Modal identifier.
     * @returns Action creator.
     */
    openModal(modalId: string): ({ registry }: DispatcherArgs) => void;
    /**
     * Closes the currently open modal.
     *
     * @since 0.4.0
     *
     * @returns Action creator.
     */
    closeModal(): ({ registry }: DispatcherArgs) => void;
    /**
     * Toggles a modal.
     *
     * If the modal is active, it will be closed.
     * If the modal is closed or another modal is active, it will be opened.
     *
     * @since 0.4.0
     *
     * @param modalId - Modal identifier.
     * @returns Action creator.
     */
    toggleModal(modalId: string): ({ dispatch, select }: DispatcherArgs) => void;
};
declare const selectors: {
    isModalActive: {
        (_state: State, modalId: string): boolean;
        isRegistrySelector?: boolean;
        registry?: any;
    };
};
declare const storeConfig: StoreConfig<State, ActionCreators, CombinedAction, Selectors>;
export default storeConfig;
//# sourceMappingURL=modal.d.ts.map