/**
 * 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 React from 'react';
export declare enum AssociationFieldMode {
    Picker = "Picker",
    Nester = "Nester",
    PopoverNester = "PopoverNester",
    Select = "Select",
    SubTable = "SubTable",
    FileManager = "FileManager",
    CascadeSelect = "CascadeSelect",
    Tag = "Tag"
}
interface AssociationFieldModeProviderProps {
    modeToComponent: Partial<Record<AssociationFieldMode, React.FC>>;
}
export declare const AssociationFieldModeProvider: React.FC<AssociationFieldModeProviderProps>;
export declare const useAssociationFieldModeContext: () => {
    modeToComponent: AssociationFieldModeProviderProps['modeToComponent'];
    getComponent: (mode: AssociationFieldMode) => React.FC;
    getDefaultComponent: (mode: AssociationFieldMode) => React.FC;
};
export {};
