/**
 * This file is part of the NocoBase (R) project.
 * Copyright (c) 2020-2024 NocoBase Co., Ltd.
 * Authors: NocoBase Team.
 *
 * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
 * For more information, please refer to: https://www.nocobase.com/agreement.
 */
import { Form } from '@formily/core';
import React from 'react';
import { ActionProps } from '../action';
export declare const EditTableActionContext: React.Context<any>;
export type EditTableActionProps<T = {}> = ActionProps & {
    columns?: any[];
    form?: Form;
    onSubmit?: (values: T) => void;
    onReset?: (values: T) => void;
    /**
     * @default Popover
     * For mobile, will use mobile Popup component
     */
    Container?: (props: {
        open: boolean;
        onOpenChange: (open: boolean) => void;
        trigger: 'click' | 'hover';
        content: React.ReactElement;
        children: React.ReactElement;
    }) => React.ReactElement;
};
export declare const EditTableAction: React.FunctionComponent<ActionProps & {
    columns?: any[];
    form?: Form;
    onSubmit?: (values: {}) => void;
    onReset?: (values: {}) => void;
    /**
     * @default Popover
     * For mobile, will use mobile Popup component
     */
    Container?: (props: {
        open: boolean;
        onOpenChange: (open: boolean) => void;
        trigger: 'click' | 'hover';
        content: React.ReactElement;
        children: React.ReactElement;
    }) => React.ReactElement;
}>;
