import type { ParserSymbol } from '../models.js'; interface Branch { symbol: ParserSymbol; priority: number; } /** * Tries to match one of the given branches. * * If multiple branches match the current input, the "priority" field will be used * to decide which branch to accept to resolve the ambiguity. * * @param branches - The different branches available to choose * * @returns The grammar symbol */ export declare function oneOf(branches: Branch[]): ParserSymbol; export {}; //# sourceMappingURL=one-of.d.ts.map