/**
 * Copyright 2023 Kapeta Inc.
 * SPDX-License-Identifier: MIT
 */
import React from 'react';
import { DialogProps as MuiDialogProps, DialogTitleProps as MuiDialogTitleProps, DialogContentProps as MuiDialogContentProps, DialogActionsProps as MuiDialogActionsProps } from '@mui/material';
export type KapDialogProps<OnCloseFn extends (...args: any[]) => any> = Omit<MuiDialogProps, 'onClose'> & {
    onClose?: OnCloseFn;
};
export type KapDialogTitleProps = MuiDialogTitleProps;
export type KapDialogContentProps = MuiDialogContentProps;
export type KapDialogActionsProps = MuiDialogActionsProps;
export declare const KapDialog: {
    <OnCloseFn extends (...args: any[]) => any>(props: KapDialogProps<OnCloseFn>): React.JSX.Element;
    Title({ sx, children, ...props }: KapDialogTitleProps): React.JSX.Element;
    Content({ sx, ...props }: KapDialogContentProps): React.JSX.Element;
    Actions({ sx, ...props }: KapDialogActionsProps): React.JSX.Element;
};
