import React from 'react';
import { Schema } from '@tachybase/schema';
import { DrawerProps, ModalProps } from 'antd';
export declare const ActionContext: React.Context<ActionContextProps>;
export declare const ActionContextProvider: (props: ActionContextProps & {
    value?: ActionContextProps;
    children: any;
}) => React.JSX.Element;
export type OpenSize = 'small' | 'middle' | 'large';
export interface ActionContextProps {
    button?: any;
    visible?: boolean;
    setVisible?: (v: boolean) => void;
    openMode?: 'drawer' | 'modal' | 'page' | 'sheet';
    snapshot?: boolean;
    openSize?: OpenSize;
    containerRefKey?: string;
    formValueChanged?: boolean;
    setFormValueChanged?: (v: boolean) => void;
    fieldSchema?: Schema;
    drawerProps?: DrawerProps;
    modalProps?: ModalProps;
}
