import { Token } from './token.js'; /** * Ensures that no keyword token (RESERVED_*) is preceded by dot (.). * * Ensures that all RESERVED_FUNCTION_NAME tokens are followed by "(". * If they're not, converts the token to RESERVED_KEYWORD. * * When IDENTIFIER and RESERVED_KEYWORD token is followed by "[" * converts it to ARRAY_IDENTIFIER or ARRAY_KEYWORD accordingly. * * This is needed to avoid ambiguity in parser which expects function names * to always be followed by open-paren, and to distinguish between * array accessor `foo[1]` and array literal `[1, 2, 3]`. */ export declare function disambiguateTokens(tokens: Token[]): Token[];