/**
 * 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.
 */
/**
 * v2 condition node — the modern-canvas counterpart of v1's
 * `client/nodes/condition.tsx`. This file holds ONLY the lightweight
 * `Instruction` (static metadata + loaders); its lazily-loaded UI lives in
 * `nodes/components/condition.tsx`, so the loaders are real code-split chunks
 * (the form / preset / canvas render load on demand, not with registration).
 *
 * This is the reference layout for core nodes: `nodes/<type>.tsx` = Instruction,
 * `nodes/components/<type>.tsx` = its lazily-loaded components.
 */
import React from 'react';
import { Instruction } from '../canvas/Instruction';
export default class extends Instruction {
    type: string;
    title: string;
    group: string;
    description: string;
    icon: React.JSX.Element;
    testable: boolean;
    branching: ({ rejectOnFalse }?: {
        rejectOnFalse?: boolean;
    }) => false | ({
        label: string;
        value: 1;
    } | {
        label: string;
        value: 0;
    })[];
    FieldsetLoader: () => Promise<{
        default: typeof import("./components/condition").ConditionFieldset;
    }>;
    PresetFieldsetLoader: () => Promise<{
        default: typeof import("./components/condition").ConditionPresetFieldset;
    }>;
    ComponentLoader: () => Promise<{
        default: typeof import("./components/condition").ConditionCanvasComponent;
    }>;
}
