import type { ImplicitParjser } from "../../index"; import type { CombinatorInput } from "../combinated"; import { Combinated } from "../combinated"; import type { ParsingState } from "../state"; declare class Exactly extends Combinated { private count; type: string; expecting: string; constructor(source: CombinatorInput, count: number); _apply(ps: ParsingState): void; } /** * Applies the source parser exactly `count` times, and yields all the results in an array. * * @param count The number of times to apply the source parser. */ export declare function exactly(count: number): (source: ImplicitParjser) => Exactly; export {}; //# sourceMappingURL=exactly.d.ts.map