import { default as React } from 'react';
import { PolymorphicComponentProps } from '@entur/utils';
export type SubLabelOwnProps = {
    /** HTML-elementet eller React-komponenten som rendres
     * @default "span"
     */
    as?: string | React.ElementType;
    /** Ekstra klassenavn */
    className?: string;
    /** Innholdet */
    children: React.ReactNode;
    /** Hvor du vil ha marginer
     * @default "both"
     */
    margin?: 'top' | 'bottom' | 'both' | 'none';
};
export type SubLabelProps<T extends React.ElementType = typeof defaultElement> = PolymorphicComponentProps<T, SubLabelOwnProps>;
declare const defaultElement = "span";
export declare const SubLabel: <E extends React.ElementType = "span">({ className, margin, as, ...rest }: SubLabelProps<E>) => JSX.Element;
export {};
