/** * @license * Copyright Google LLC * SPDX-License-Identifier: Apache-2.0 */ /** * @fileoverview List of tokens that can be produced by the CSS tokenizer. */ export declare enum CssTokenKind { AT_KEYWORD = 0, CDC = 1, CDO = 2, CLOSE_CURLY = 3, CLOSE_PAREN = 4, CLOSE_SQUARE = 5, COLON = 6, COMMA = 7, DELIM = 8, DIMENSION = 9, EOF = 10, FUNCTION = 11, HASH = 12, IDENT = 13, NUMBER = 14, OPEN_CURLY = 15, OPEN_PAREN = 16, OPEN_SQUARE = 17, PERCENTAGE = 18, SEMICOLON = 19, STRING = 20, WHITESPACE = 21 } /** * At-keyword token. * * https://www.w3.org/TR/2021/CRD-css-syntax-3-20211224/#typedef-at-keyword-token */ export interface AtKeywordToken { tokenKind: CssTokenKind.AT_KEYWORD; name: string; } /** * CDC (Comment Delimiter Close) token. Represents `"-->"`. * * https://www.w3.org/TR/2021/CRD-css-syntax-3-20211224/#typedef-cdc-token */ export interface CdcToken { tokenKind: CssTokenKind.CDC; } /** * CDO (Comment Delimiter Open) token. Represents `"