import React from 'react'; import { OpenBaseProps } from '../masking/methods'; export declare function normalizeAlert(config: AlertOptions): P; export declare function normalizeConfirm(config: ConfirmOptions): P; export declare function alert(Component: React.FunctionComponent

, normalize?: (config: T) => Props): (config: AlertOptions, context?: import("../context-provider").GlobalContextParams | undefined) => { close: () => void; update: (newConfig: AlertOptions) => void; }; export declare function confirm(Component: React.FunctionComponent

, normalize?: (config: T) => Props): (config: ConfirmOptions, context?: import("../context-provider").GlobalContextParams | undefined) => { close: () => void; update: (newConfig: ConfirmOptions) => void; }; export declare function open

(Component: React.FunctionComponent

): (config: Pick> & { key?: string | undefined; }, context?: import("../context-provider").GlobalContextParams | undefined) => { close: () => void; update: (newConfig: Pick> & { key?: string | undefined; }) => void; };