import { ComponentPropsWithoutRef, ElementType, ReactNode } from 'react';
import { Size } from '../../../../context/FormContext';
export declare function getSizeHeight(size: Size): number;
type BaseProps<T extends ElementType> = {
    as?: T;
};
type Props<T extends ElementType> = BaseProps<T> & Omit<ComponentPropsWithoutRef<'label'>, keyof BaseProps<T>>;
export default function Label<T extends ElementType = 'label'>({ as, className, ...restOfProps }: Props<T>): ReactNode;
export {};
//# sourceMappingURL=index.d.ts.map