import { Fn } from '@maxax/types';
import { BasicMessageBoxProps } from '../components';
export interface OperationButtonSchema {
    field?: string;
    validate?: (opt: {
        field?: string;
        schema: OperationButtonSchema;
    }) => Promise<any> | boolean;
    confirm?: Fn;
    cancel?: Fn;
    message?: string;
    messageBoxProps?: BasicMessageBoxProps;
}
/**
 * 按钮点击处理器
 * @param schema
 */
export declare function basicButtonHandler(schema: OperationButtonSchema): void;
/**
 * 按钮点击触发器
 * @param schema
 */
export declare function basicButtonClickTrigger(schema: OperationButtonSchema): void;
//# sourceMappingURL=operation-button.d.ts.map