/** * Copyright 2021, SumUp Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ import { type HTMLAttributes } from 'react'; export interface DisplayProps extends HTMLAttributes { /** * Choose from two font weights. * * @default 'bold' for sizes s, m, l * @default 'black' for size xl */ weight?: 'black' | 'bold' /** * @deprecated */ | 'semibold' /** * @deprecated */ | 'regular'; /** * Choose from 4 font sizes. * * @default 'm' */ size?: 's' | 'm' | 'l' | 'xl' /** * @deprecated */ | 'one' /** * @deprecated */ | 'two' /** * @deprecated */ | 'three' /** * @deprecated */ | 'four'; /** * The HTML heading element to render. * Headings should be nested sequentially without skipping any levels. * Learn more at https://www.w3.org/WAI/tutorials/page-structure/headings/. */ as: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6'; } /** * A flexible title component capable of rendering any HTML heading element. */ export declare const Display: import("react").ForwardRefExoticComponent>;