import type { ForInStatement, ForRangeStatement, WhileStatement } from '../ast/index.js'; import type { Cursor } from './cursor.js'; /** * `for` and `while`, language.md 10.3 and 10.4. * * There are two loop forms and no third, so a header that is neither is OS1020 * rather than a cascade of smaller complaints: the message names the two shapes * that exist, which is the only thing the reader needs. The body is read either * way, so the lines under a header that was not understood are still checked. */ export declare function parseForStatement(cursor: Cursor): ForRangeStatement | ForInStatement; export declare function parseWhileStatement(cursor: Cursor): WhileStatement; //# sourceMappingURL=loops.d.ts.map