/**
 * 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 type { FlowSurfaceReactionKind, FlowSurfaceReactionScene, FlowSurfaceReactionSlot } from './types';
export declare const FLOW_SURFACE_REACTION_SLOT_REGISTRY: {
    readonly fieldValue: {
        readonly form: {
            readonly flowKey: "formModelSettings";
            readonly stepKey: "assignRules";
            readonly valuePath: "value";
        };
    };
    readonly blockLinkage: {
        readonly block: {
            readonly flowKey: "cardSettings";
            readonly stepKey: "linkageRules";
            readonly valuePath: "value";
        };
    };
    readonly fieldLinkage: {
        readonly form: {
            readonly flowKey: "eventSettings";
            readonly stepKey: "linkageRules";
            readonly valuePath: "value";
        };
        readonly details: {
            readonly flowKey: "detailsSettings";
            readonly stepKey: "linkageRules";
            readonly valuePath: "value";
        };
        readonly subForm: {
            readonly flowKey: "eventSettings";
            readonly stepKey: "linkageRules";
            readonly valuePath: "value";
        };
    };
    readonly actionLinkage: {
        readonly action: {
            readonly flowKey: "buttonSettings";
            readonly stepKey: "linkageRules";
            readonly valuePath: "value";
        };
    };
};
export declare const FLOW_SURFACE_REACTION_SUPPORTED_KINDS_BY_USE: {
    readonly CreateFormModel: readonly ["fieldValue", "blockLinkage", "fieldLinkage"];
    readonly EditFormModel: readonly ["fieldValue", "blockLinkage", "fieldLinkage"];
    readonly FormBlockModel: readonly ["blockLinkage", "fieldLinkage"];
    readonly ApplyFormModel: readonly ["fieldValue", "blockLinkage", "fieldLinkage"];
    readonly ProcessFormModel: readonly ["fieldValue", "blockLinkage", "fieldLinkage"];
    readonly DetailsBlockModel: readonly ["blockLinkage", "fieldLinkage"];
    readonly ApprovalDetailsModel: readonly ["blockLinkage", "fieldLinkage"];
    readonly ApplyTaskCardDetailsModel: readonly ["blockLinkage", "fieldLinkage"];
    readonly ApprovalTaskCardDetailsModel: readonly ["blockLinkage", "fieldLinkage"];
    readonly TableBlockModel: readonly ["blockLinkage"];
    readonly CalendarBlockModel: readonly ["blockLinkage"];
    readonly ListBlockModel: readonly ["blockLinkage"];
    readonly GridCardBlockModel: readonly ["blockLinkage"];
    readonly MarkdownBlockModel: readonly ["blockLinkage"];
    readonly IframeBlockModel: readonly ["blockLinkage"];
    readonly MapBlockModel: readonly ["blockLinkage"];
    readonly CommentsBlockModel: readonly ["blockLinkage"];
    readonly ChartBlockModel: readonly ["blockLinkage"];
    readonly ActionPanelBlockModel: readonly ["blockLinkage"];
    readonly AddNewActionModel: readonly ["actionLinkage"];
    readonly ViewActionModel: readonly ["actionLinkage"];
    readonly EditActionModel: readonly ["actionLinkage"];
    readonly PopupCollectionActionModel: readonly ["actionLinkage"];
    readonly DeleteActionModel: readonly ["actionLinkage"];
    readonly UpdateRecordActionModel: readonly ["actionLinkage"];
    readonly BulkUpdateActionModel: readonly ["actionLinkage"];
    readonly BulkDeleteActionModel: readonly ["actionLinkage"];
    readonly BulkEditActionModel: readonly ["actionLinkage"];
    readonly DuplicateActionModel: readonly ["actionLinkage"];
    readonly AddChildActionModel: readonly ["actionLinkage"];
    readonly MailSendActionModel: readonly ["actionLinkage"];
    readonly JSCollectionActionModel: readonly ["actionLinkage"];
    readonly JSRecordActionModel: readonly ["actionLinkage"];
    readonly JSFormActionModel: readonly ["actionLinkage"];
    readonly JSItemActionModel: readonly ["actionLinkage"];
    readonly FilterFormJSActionModel: readonly ["actionLinkage"];
    readonly JSActionModel: readonly ["actionLinkage"];
    readonly CalendarTodayActionModel: readonly ["actionLinkage"];
    readonly CalendarNavActionModel: readonly ["actionLinkage"];
    readonly CalendarTitleActionModel: readonly ["actionLinkage"];
    readonly CalendarViewSelectActionModel: readonly ["actionLinkage"];
    readonly LinkActionModel: readonly ["actionLinkage"];
    readonly ExportActionModel: readonly ["actionLinkage"];
    readonly ExportAttachmentActionModel: readonly ["actionLinkage"];
    readonly ImportActionModel: readonly ["actionLinkage"];
    readonly CollectionTriggerWorkflowActionModel: readonly ["actionLinkage"];
    readonly RecordTriggerWorkflowActionModel: readonly ["actionLinkage"];
    readonly FormTriggerWorkflowActionModel: readonly ["actionLinkage"];
    readonly WorkbenchTriggerWorkflowActionModel: readonly ["actionLinkage"];
    readonly RefreshActionModel: readonly ["actionLinkage"];
    readonly FilterActionModel: readonly ["actionLinkage"];
    readonly ExpandCollapseActionModel: readonly ["actionLinkage"];
    readonly FormSubmitActionModel: readonly ["actionLinkage"];
    readonly ApplyFormSubmitModel: readonly ["actionLinkage"];
    readonly ApplyFormSaveDraftModel: readonly ["actionLinkage"];
    readonly ApplyFormWithdrawModel: readonly ["actionLinkage"];
    readonly ProcessFormApproveModel: readonly ["actionLinkage"];
    readonly ProcessFormRejectModel: readonly ["actionLinkage"];
    readonly ProcessFormReturnModel: readonly ["actionLinkage"];
    readonly ProcessFormDelegateModel: readonly ["actionLinkage"];
    readonly ProcessFormAddAssigneeModel: readonly ["actionLinkage"];
    readonly FilterFormSubmitActionModel: readonly ["actionLinkage"];
    readonly FilterFormResetActionModel: readonly ["actionLinkage"];
    readonly FilterFormCollapseActionModel: readonly ["actionLinkage"];
    readonly SubFormFieldModel: readonly ["fieldLinkage"];
    readonly SubFormListFieldModel: readonly ["fieldLinkage"];
};
export declare const FLOW_SURFACE_BLOCK_LINKAGE_STATES: readonly ["visible", "hidden"];
export declare const FLOW_SURFACE_ACTION_LINKAGE_STATES: readonly ["visible", "hidden", "hiddenText", "enabled", "disabled"];
export declare const FLOW_SURFACE_FIELD_LINKAGE_STATES_BY_SCENE: {
    readonly form: readonly ["visible", "hidden", "hiddenReservedValue", "required", "notRequired", "disabled", "enabled"];
    readonly details: readonly ["visible", "hidden", "hiddenReservedValue"];
    readonly subForm: readonly ["visible", "hidden", "hiddenReservedValue", "required", "notRequired", "disabled", "enabled"];
};
export declare const FLOW_SURFACE_FIELD_LINKAGE_ACTION_TYPES_BY_SCENE: {
    readonly form: readonly ["setFieldState", "assignField", "setFieldDefaultValue", "runjs"];
    readonly details: readonly ["setFieldState", "runjs"];
    readonly subForm: readonly ["setFieldState", "assignField", "runjs"];
};
export declare const FLOW_SURFACE_LINKAGE_CANONICAL_ACTION_NAMES: {
    readonly block: {
        readonly setBlockState: "linkageSetBlockProps";
        readonly runjs: "linkageRunjs";
    };
    readonly action: {
        readonly setActionState: "linkageSetActionProps";
        readonly runjs: "linkageRunjs";
    };
    readonly form: {
        readonly setFieldState: "linkageSetFieldProps";
        readonly assignField: "linkageAssignField";
        readonly setFieldDefaultValue: "setFieldsDefaultValue";
        readonly runjs: "linkageRunjs";
    };
    readonly details: {
        readonly setFieldState: "linkageSetDetailsFieldProps";
        readonly runjs: "linkageRunjs";
    };
    readonly subForm: {
        readonly setFieldState: "subFormLinkageSetFieldProps";
        readonly assignField: "subFormLinkageAssignField";
        readonly runjs: "linkageRunjs";
    };
};
export declare function getReactionKindsForUse(use?: string): FlowSurfaceReactionKind[];
export declare function getReactionSlot(kind: FlowSurfaceReactionKind, scene: FlowSurfaceReactionScene): FlowSurfaceReactionSlot | undefined;
