/**
 * 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 const icons: Map<string, any>;
export declare function registerIcon(type: string, icon?: any): void;
export declare function hasIcon(type: string): boolean;
export declare function registerIcons(components: any): void;
interface IconProps {
    type: string;
    component?: any;
    [key: string]: any;
}
export declare const Icon: {
    (props: IconProps): React.JSX.Element;
    createFromIconfontCN(options: any): void;
    register(icons?: any): void;
};
export default Icon;
