import type { BaseXMLUIParser } from './BaseXMLUIParser.js'; import type { XMLUIParserContext } from './XMLUIParserContext.js'; /** * A function that modifies a given widget factory parameter list. Can be used * to add extra parameters (such as an options object) or transform existing * parameters. * * @category XML */ export type XMLArgumentModifier = (parser: BaseXMLUIParser, context: XMLUIParserContext, instantiationContext: Record, parameters: Array) => void;