import { ReactNode } from 'react'; import { UiCoreLocale } from '../../../helpers/uiCoreLocale'; export interface IStyledReadOnlyText { /** The label above the value; leave it out when the caller already renders its own title. */ title?: ReactNode; /** The value. An empty value (undefined, null, '' or only spaces) shows `emptyText`. */ value?: ReactNode; /** Shown for an empty value. Defaults to `StyledEmptyValue`: an em dash, read as "Not provided" / "Ikke oppgitt". */ emptyText?: ReactNode; /** The language of the default `emptyText`. */ locale?: UiCoreLocale; /** Keeps the line breaks of a multi-line value. */ multiline?: boolean; /** "Title: value" on one line instead of the value under the title. */ horizontal?: boolean; /** A 24px icon before the title. */ titleIcon?: ReactNode; /** A 20px icon after the title, for example an info icon with a tooltip. */ titleInfo?: ReactNode; /** A 24px icon before the value. */ startIcon?: ReactNode; /** A 24px icon after the value. */ endIcon?: ReactNode; /** Helper text under the value. */ helperText?: ReactNode; /** A 20px icon before the helper text. */ helperIcon?: ReactNode; id?: string; className?: string; dataTest?: string; } /** * @figmaNode wXrXt5uKNNzV2DnQCgyYZH#40253-187979 * Figma `Title + data`: a value that cannot be changed, shown as text (disabled-states DIS-6, a * read-only view or a value nobody can change here). The title is Body Base Semibold 16/24 in * `text-icon/title-label` (delta-800) with the value right under it, or after "Title:" when * `horizontal`; the value is Body 16/24 in `text-icon/body` (delta-700) and the helper text is Helper * 14/20 in `text-icon/helper` (delta-600). Icons sit 4px from the text. No field, fill, border, * padding or reserved helper row. An empty value shows an em dash (`StyledEmptyValue`). */ export declare const StyledReadOnlyText: React.FC;