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