import React from "react";
import { DialogProps } from "@mui/material/Dialog";
type BananasDialogProps = Omit<DialogProps, "open">;
declare function DialogContextProvider(props: {
    children: React.ReactNode;
}): React.JSX.Element;
export declare function BcomDialog(): React.JSX.Element;
export declare function useDialog(): (title: string, children: React.ReactNode, options?: {
    ok?: string | false;
    cancel?: string | false;
    dialogProps?: BananasDialogProps;
}) => Promise<boolean>;
export default DialogContextProvider;
