/** * Parser Extension: Type Constructor Parsing * type-constructor = ("list" | "dict" | "tuple" | "ordered") "(" [type-arg-list] ")" ; * type-arg-list = field-arg ("," field-arg)* [","] ; * field-arg = identifier ":" type-ref | type-ref ; */ import type { TypeConstructorNode } from '../types.js'; declare module './parser.js' { interface Parser { parseTypeConstructor(constructorName: string): TypeConstructorNode; } } type TypeConstructorName = TypeConstructorNode['constructorName']; export declare function isTypeConstructorName(name: string): name is TypeConstructorName; export {};