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