import { Position } from '../source/Position'; import { Source } from '../source/Source'; export declare class Scanner { readonly source: Source; private readonly input; private offset; private line; private column; private cachedPosition; get position(): Position; constructor(source: Source); peek(offset?: number): string | undefined; sub(length: number, offset?: number): string; next(throwEof?: boolean): string; skip(count?: number): void; eof(): boolean; eol(): boolean; }