import { IconProperties as BaseIconProperties } from '@pmndrs/uikit/internals';
import { ReactNode, RefAttributes } from 'react';
import { R3FEventMap } from './utils.js';
import { ComponentInternals } from './ref.js';
export type IconProperties = BaseIconProperties<R3FEventMap> & {
    text: string;
    svgWidth: number;
    svgHeight: number;
    children?: ReactNode;
    name?: string;
};
export type IconRef = ComponentInternals<Partial<BaseIconProperties<R3FEventMap>>>;
export declare const Icon: (props: IconProperties & RefAttributes<IconRef>) => ReactNode;
