import React, { ReactElement } from "react"; type AlertOptionsType = { title?: string; onAccept?: (any: any) => void; onSelect?: (any: any) => void; acceptText?: string; currentIndex?: number; currentValue?: string; acceptType?: string; cancelText?: string; cancelType?: string; description?: string | ReactElement; }; type AlertProp = { showAlert: (message?: any, options?: AlertOptionsType) => void; showQuestion?: (message?: any, options?: AlertOptionsType) => Promise; showConfirm?: (message?: any, buttonText?: string, options?: AlertOptionsType) => Promise; showSelect?: (message?: any, items?: Array, options?: AlertOptionsType) => Promise; closeAlert: () => void; }; export declare const AlertContext: React.Context; export declare const useAlert: () => AlertProp; type AlertProps = { children: ReactElement; }; export declare const AlertProvider: React.FC; export {}; //# sourceMappingURL=AlertProvider.d.ts.map