import { default as React } from 'react';
import { PolymorphicComponentProps } from '@entur/utils';
export type SmallTextOwnProps = {
    /** 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 SmallTextProps<T extends React.ElementType = typeof defaultElement> = PolymorphicComponentProps<T, SmallTextOwnProps>;
declare const defaultElement = "span";
export declare const SmallText: <E extends React.ElementType = "span">({ className, margin, as, ...rest }: SmallTextProps<E>) => JSX.Element;
export {};
