import type { PropsWithoutRef } from 'react';
export interface ReactUIComponentWithRef<T, P> extends React.NamedExoticComponent<React.PropsWithoutRef<P> & React.RefAttributes<T>> {
    __KONTUR_REACT_UI__: string;
}
export declare function forwardRefAndName<ElementType, Props, Extra extends Record<string, unknown> = Record<never, never>>(name: string, render: React.ForwardRefRenderFunction<ElementType, PropsWithoutRef<Props>>): ReactUIComponentWithRef<ElementType, Props> & Extra;
export interface ReactUIIconWithRef<T, P> extends ReactUIComponentWithRef<T, P> {
    __KONTUR_ICON__: boolean;
}
export declare function forwardRefAndIconName<ElementType, Props>(name: string, render: React.ForwardRefRenderFunction<ElementType, PropsWithoutRef<Props>>): ReactUIIconWithRef<ElementType, Props>;
