/** * 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. */ /** * This file is part of the NocoBase (R) project. * Copyright (c) 2020-2024 NocoBase Co., Ltd. * Authors: NocoBase Team. * * This program is offered under a commercial license. * For more information, see */ import { type SubModelItem } from '@nocobase/flow-engine'; import { Trigger, type TriggerLoaderOf, type UseVariableOptions, type VariableOption } from '@nocobase/plugin-workflow/client-v2'; declare function useVariables(config: Record, options?: UseVariableOptions): VariableOption[]; export default class RequestInterceptionTrigger extends Trigger { sync: boolean; title: string; description: string; PresetFieldsetLoader: TriggerLoaderOf; FieldsetLoader: TriggerLoaderOf; TriggerFieldsetLoader: TriggerLoaderOf; validate(config: Record): boolean; isActionTriggerable_deprecated: (config: Record, context: { buttonAction?: string; }) => boolean; actionTriggerableScope: (config: Record, scope: string) => boolean; useVariables: typeof useVariables; getCreateModelMenuItem({ config }: { config: Record; }): SubModelItem | null; useTempAssociationSource(config: Record, workflow?: { id?: string | number; }): { collection: string; nodeId: string | number; nodeKey: string; nodeType: "workflow"; }; } export {};