/**
 * Copyright 2023 Kapeta Inc.
 * SPDX-License-Identifier: MIT
 */
import React, { PropsWithChildren, ReactNode } from 'react';
import { KapDialogProps } from './KapDialog';
import { FormContainerProps } from '../form/FormContainer';
export type KapFormDialogProps<OnCloseFn extends (...args: any[]) => any, TFormData = any> = PropsWithChildren<{
    open: KapDialogProps<OnCloseFn>['open'];
    onClose: OnCloseFn;
    title?: ReactNode;
    actions?: ReactNode;
}> & Omit<FormContainerProps<TFormData>, 'children'>;
export declare const KapFormDialog: <OnCloseFn extends (...args: any[]) => any>({ open, onClose, title, children, actions, ...formContainerProps }: KapFormDialogProps<OnCloseFn, any>) => React.JSX.Element;
