/** * @license EUPL-1.2+ * Copyright Gemeente Amsterdam */ import type { HTMLAttributes, PropsWithChildren } from 'react'; export declare const progressListHeadingLevels: (2 | 3 | 4)[]; type ProgressListHeadingLevel = (typeof progressListHeadingLevels)[number]; export type ProgressListProps = { /** * Whether the steps can be expanded and collapsed. * @default false */ collapsible?: boolean; /** * An accessible phrase that screen readers announce before a completed step heading. * @default Klaar */ completedAccessibleText?: string; /** * An accessible phrase that screen readers announce before a current step heading. * @default Bezig */ currentAccessibleText?: string; /** * The hierarchical level of this Progress List’s Headings within the document. * There is no default value; determine the correct level for this instance. */ headingLevel: ProgressListHeadingLevel; } & PropsWithChildren>; /** * @see {@link https://designsystem.amsterdam/?path=/docs/components-containers-progress-list--docs Progress List docs at Amsterdam Design System} */ export declare const ProgressList: import("react").ForwardRefExoticComponent<{ /** * Whether the steps can be expanded and collapsed. * @default false */ collapsible?: boolean; /** * An accessible phrase that screen readers announce before a completed step heading. * @default Klaar */ completedAccessibleText?: string; /** * An accessible phrase that screen readers announce before a current step heading. * @default Bezig */ currentAccessibleText?: string; /** * The hierarchical level of this Progress List’s Headings within the document. * There is no default value; determine the correct level for this instance. */ headingLevel: ProgressListHeadingLevel; } & HTMLAttributes & { children?: import("react").ReactNode | undefined; } & import("react").RefAttributes> & { Step: import("react").ForwardRefExoticComponent<{ defaultCollapsed?: boolean; hasSubsteps?: boolean; heading: string; onToggle?: (expanded: boolean) => void; status?: "current" | "completed"; } & HTMLAttributes & { children?: import("react").ReactNode | undefined; } & import("react").RefAttributes>; Substep: import("react").ForwardRefExoticComponent<{ status?: import("./ProgressListStep").ProgressListStepProps["status"]; } & HTMLAttributes & { children?: import("react").ReactNode | undefined; } & import("react").RefAttributes>; Substeps: import("react").ForwardRefExoticComponent & { children?: import("react").ReactNode | undefined; } & import("react").RefAttributes>; }; export {};