import { SvelteComponentTyped } from "svelte"; import type { SvelteHTMLElements } from "svelte/elements"; type $RestProps = SvelteHTMLElements["header"]; type $Props = { /** * Specify the header title * @default "" */ title?: string; /** * Specify the header subtitle * @default "" */ subTitle?: string; /** * Specify the heading level of the title, to fit the page outline. * A full-screen takeover defaults to 1, or one level below an enclosing * `Section`'s heading. In a modal it defaults to 2, as a modal title. */ headingLevel?: 1 | 2 | 3 | 4 | 5 | 6 | undefined; /** * Set to `true` to hide the step progress indicator (only relevant when there is more than one `InterstitialScreenView`) * @default false */ hideProgressIndicator?: boolean; /** * Specify the ARIA label for the close icon * @default "Close" */ iconDescription?: string; /** * Specify the text announced when the step changes. * @default (step, total) => `Step ${step} of ${total}` */ stepText?: (step: number, total: number) => string; /** * Specify the assistive text appended to a complete step's name. * @default (status) => status */ statusText?: (status: "complete" | "invalid") => string; /** * Specify the progress label of a step whose view sets no `stepTitle`. * @default (step) => `Step ${step}` */ stepLabelText?: (step: number) => string; /** Custom header content, after the title and before the step progress indicator. */ children?: (this: void) => void; [key: `data-${string}`]: unknown; }; export type InterstitialScreenHeaderProps = Omit<$RestProps, keyof $Props> & $Props; export default class InterstitialScreenHeader extends SvelteComponentTyped< InterstitialScreenHeaderProps, Record, { /** Custom header content, after the title and before the step progress indicator. */ default: Record; } > {}