import React from "react"; import { DialogProps } from "@mui/material/Dialog"; type BananasDialogProps = Omit; 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; export default DialogContextProvider;