import React, { ElementType } from 'react'; export interface LabelProps extends React.ComponentPropsWithoutRef<'label'> { as?: ElementType; /** * Labels default to `display: inline-block;` to have tooltips appear immediately to the right. * Set this to `true` if you don't use tooltips and need the label to be `display: block;`. */ block?: boolean; /** @deprecated as part of update to Semantic Colors * * Use the `ffe-accent-color` class on the component or on the container of the component instead * [Read more in the upgrade guide](https://sparebank1.github.io/designsystem/?path=/docs/introduksjon-changelog--docs#2025---februar---semantiske-farger) */ onColoredBg?: never; } export declare const Label: React.FC;