import type { ImplicitParjser, ParjsCombinator } from "../../index"; import type { CombinatorInput } from "../combinated"; export type ArrayWithSeparators = Normal[] & { separators: Separator[]; }; export declare function getArrayWithSeparators(things: T[], separators: S[]): ArrayWithSeparators; export interface ManySepByOptions { delimeter: CombinatorInput; max?: number; } /** * Applies the source parser repeatedly until it fails softly, with each pair of applications * separated by applying `delimeter`. Also terminates if `delimeter` fails softly. Yields all the * results of the source parser in an array. * * @template E The type of the source parser. * @template Sep The type of the delimeter (separator) parser. * @param delimeter Parser that separates two applications of the source. * @param max Optionally, then maximum number of times to apply the source parser. Defaults to * `Infinity`. */ export declare function manySepBy(delimeter: ImplicitParjser, max?: number): ParjsCombinator>; //# sourceMappingURL=many-sep-by.d.ts.map