import type { Token } from './types'; /** Whitespace per the grammar's Space rule. */ export declare function isSpaceChar(ch: string): boolean; /** Decode the raw text of an unquoted literal token (escapes resolved, whitespace kept). */ export declare function decodeUnquotedLiteral(raw: string): string; /** Decode the raw text of a quoted string token (quotes stripped, escapes resolved). */ export declare function decodeQuotedString(raw: string): string; /** * Convert an offset (0-based) to Monaco line/column. * Monaco line/column are 1-based. */ export declare function offsetToPosition(input: string, offset: number): { lineNumber: number; column: number; }; export declare function tokenize(input: string): Token[]; /** Return tokens with whitespace filtered out. */ export declare function nonWhitespace(tokens: Token[]): Token[];