import { default as React } from 'react';
import { PolymorphicComponentProps } from '@entur/utils';
export type SubParagraphOwnProps = {
    /** HTML-elementet eller React-komponenten som rendres
     * @default "p"
     */
    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 SubParagraphProps<T extends React.ElementType = typeof defaultElement> = PolymorphicComponentProps<T, SubParagraphOwnProps>;
declare const defaultElement = "p";
export declare const SubParagraph: <E extends React.ElementType = "p">({ className, margin, as, ...rest }: SubParagraphProps<E>) => JSX.Element;
export {};
