import { StepperStatus } from '../../utils/constants'; import type { StepperStateTexts } from '../../utils/i18n.utils'; /** * Says a step's state in words, for assistive technology. * * Colour and the indicator's shape carry the status visually, and neither is * enough on its own. At `xs` the indicator holds no content at all, so this * text is the only thing that conveys the state. * * `error` wins over every status: a step that failed is reported as failed, * whether it was complete, current or upcoming. * @param {string} status - Where the step sits in the sequence. * @param {boolean} error - Whether the step carries a blocking problem. * @param {StepperStateTexts} texts - The texts for the resolved locale. * @returns {string} The state of the step in words. */ export declare function getSpokenState(status: `${StepperStatus}`, error: boolean, texts: StepperStateTexts): string;