import type { Parser } from "../parser-types"; /** * Parses widget ID components into a [type, number] tuple. * * Widget IDs in Perseus follow the format "{type} {number}" (e.g., "radio 1", "dropdown 2"). * This parser takes the components of a widget ID (after splitting on spaces) and * validates that it consists of exactly two parts: a widget type string and a * non-negative integer. * * @type {Parser<[string, number]>} A parser that returns a tuple of [widgetType, widgetNumber] */ export declare const parseWidgetIdComponents: Parser<[string, number]>;