import React, { ElementType } from 'react'; import { ComponentWithoutRefAsPropParams } from '../types'; export type BaseFieldMessageProps = ComponentWithoutRefAsPropParams & { type: 'success' | 'info' | 'error'; role: 'status' | 'alert' | 'none'; /** @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; }; /** * Internal factory component * @ignore */ export declare const BaseFieldMessage: React.FC;