/**
 * 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 } from '../canvas/collectionFieldOptions';
import type { TempAssociationSource } from '../canvas/Instruction';
export type CollectionResultNodeLike = {
    id?: string | number;
    key: string;
    title?: string;
    config: {
        collection?: string;
        multiple?: boolean;
        params?: {
            appends?: string[];
        };
    };
};
export declare function useCollectionNodeVariables({ key: name, title, config }: CollectionResultNodeLike, options?: UseVariableOptions): import("../canvas/collectionFieldOptions").VariableOption;
export declare function getSingleRecordCreateModelMenuItem({ node, title, }: {
    node: CollectionResultNodeLike;
    title: string;
}): SubModelItem | null;
export declare function getSingleRecordTempAssociationSource(node: CollectionResultNodeLike): TempAssociationSource | null;
