import React from 'react';
import { DialogAction } from './dialog';
export interface DialogComponentAction extends DialogAction {
    schema: any;
    component: React.FC<any>;
}
export declare function useDialogComponentAction(action: DialogComponentAction, context?: any): {
    [x: string]: (e: React.MouseEvent<HTMLElement, MouseEvent>) => Promise<void>;
};
export default useDialogComponentAction;
