/**
 * 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 { FC } from 'react';
export declare const CollectOperators: FC<{
    defaultOperators: Record<string, string>;
}>;
export declare const useOperators: () => {
    getOperator: (() => void) | ((name: string | number) => string);
    getOperators: () => Record<string, string> | undefined;
    collectOperator: (name: string | number, operator: string) => void;
    removeOperator: (name: string | number) => void;
};
