/**
 * 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 SubModelItem } from '@nocobase/flow-engine';
import { type UseVariableOptions, type VariableOption } from '../../canvas/collectionFieldOptions';
import { Trigger, type LoaderOf } from '..';
import { type ScheduleConfigValue } from './ScheduleModes';
declare function useVariables(config: ScheduleConfigValue, opts?: UseVariableOptions): VariableOption[];
export default class ScheduleTrigger extends Trigger {
    sync: boolean;
    title: string;
    description: string;
    PresetFieldsetLoader: LoaderOf;
    FieldsetLoader: LoaderOf<{
        modeDisabled?: boolean;
    }>;
    TriggerFieldsetLoader: LoaderOf;
    createDefaultConfig(): {
        mode: 0;
    };
    validate(config: ScheduleConfigValue): boolean;
    useVariables: typeof useVariables;
    getCreateModelMenuItem({ config }: {
        config: ScheduleConfigValue;
    }): SubModelItem | null;
    useTempAssociationSource(config: ScheduleConfigValue, workflow?: {
        id?: string | number;
    }): {
        collection: string;
        nodeId: string | number;
        nodeKey: string;
        nodeType: "workflow";
    };
}
export {};
