blob: b4f817b6fece23fea79198862d707d28d437d6aa [file] [log] [blame]
Tim van der Lippe706ec962021-06-04 13:24:42 +01001/**
2 * Parses an expression.
3 *
4 * @throws An `Error` if parsing fails.
5 * @returns An array containing the integer step size and the integer offset of the nth rule.
6 * @example nthCheck.parse("2n+3"); // returns [2, 3]
7 */
8export declare function parse(formula: string): [a: number, b: number];
9//# sourceMappingURL=parse.d.ts.map