/**
 * 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 { CollectionField, FlowModel } from '@nocobase/flow-engine';
import React from 'react';
import { FieldModel } from '../../base';
import { type ItemChain } from './itemChain';
export declare function buildRecordPickerParentItemContext(ctx: any): {
    parentItem: ItemChain;
    parentItemMeta: any;
    parentItemResolver: ((subPath: string) => boolean) | undefined;
};
export declare function injectRecordPickerPopupContext(model: FlowModel, viewCtx: any, fieldModel?: any): void;
export declare function buildRecordPickerPopupContextInputArgs(ctx: any, options?: {
    currentItemValue?: any;
    extraInputArgs?: Record<string, any>;
}): {
    parentItem: ItemChain;
    parentItemMeta: any;
    parentItemResolver: (subPath: string) => boolean;
    currentItemValue: any;
    openerUids: string[];
};
export declare function RecordPickerContent({ model, toOne }: {
    model: any;
    toOne?: boolean;
}): React.JSX.Element;
export declare class RecordPickerFieldModel extends FieldModel {
    selectedRows: {
        value: any[];
    };
    _closeView: any;
    selectBlockModel: any;
    get collectionField(): CollectionField;
    render(): React.JSX.Element;
    onInit(option: any): void;
    protected onMount(): void;
    set onClick(fn: any);
    change(): void;
}
