export declare enum TokenType { /** https://www.w3.org/TR/2021/CRD-css-syntax-3-20211224/#comment-diagram */ Comment = "comment", /** https://www.w3.org/TR/2021/CRD-css-syntax-3-20211224/#typedef-at-keyword-token */ AtKeyword = "at-keyword-token", /** https://www.w3.org/TR/2021/CRD-css-syntax-3-20211224/#typedef-bad-string-token */ BadString = "bad-string-token", /** https://www.w3.org/TR/2021/CRD-css-syntax-3-20211224/#typedef-bad-url-token */ BadURL = "bad-url-token", /** https://www.w3.org/TR/2021/CRD-css-syntax-3-20211224/#typedef-cdc-token */ CDC = "CDC-token", /** https://www.w3.org/TR/2021/CRD-css-syntax-3-20211224/#typedef-cdo-token */ CDO = "CDO-token", /** https://www.w3.org/TR/2021/CRD-css-syntax-3-20211224/#typedef-colon-token */ Colon = "colon-token", /** https://www.w3.org/TR/2021/CRD-css-syntax-3-20211224/#typedef-comma-token */ Comma = "comma-token", /** https://www.w3.org/TR/2021/CRD-css-syntax-3-20211224/#typedef-delim-token */ Delim = "delim-token", /** https://www.w3.org/TR/2021/CRD-css-syntax-3-20211224/#typedef-dimension-token */ Dimension = "dimension-token", /** https://www.w3.org/TR/2021/CRD-css-syntax-3-20211224/#typedef-eof-token */ EOF = "EOF-token", /** https://www.w3.org/TR/2021/CRD-css-syntax-3-20211224/#typedef-function-token */ Function = "function-token", /** https://www.w3.org/TR/2021/CRD-css-syntax-3-20211224/#typedef-hash-token */ Hash = "hash-token", /** https://www.w3.org/TR/2021/CRD-css-syntax-3-20211224/#typedef-ident-token */ Ident = "ident-token", /** https://www.w3.org/TR/2021/CRD-css-syntax-3-20211224/#typedef-percentage-token */ Number = "number-token", /** https://www.w3.org/TR/2021/CRD-css-syntax-3-20211224/#typedef-percentage-token */ Percentage = "percentage-token", /** https://www.w3.org/TR/2021/CRD-css-syntax-3-20211224/#typedef-semicolon-token */ Semicolon = "semicolon-token", /** https://www.w3.org/TR/2021/CRD-css-syntax-3-20211224/#typedef-string-token */ String = "string-token", /** https://www.w3.org/TR/2021/CRD-css-syntax-3-20211224/#typedef-url-token */ URL = "url-token", /** https://www.w3.org/TR/2021/CRD-css-syntax-3-20211224/#typedef-whitespace-token */ Whitespace = "whitespace-token", /** https://www.w3.org/TR/2021/CRD-css-syntax-3-20211224/#tokendef-open-paren */ OpenParen = "(-token", /** https://www.w3.org/TR/2021/CRD-css-syntax-3-20211224/#tokendef-close-paren */ CloseParen = ")-token", /** https://www.w3.org/TR/2021/CRD-css-syntax-3-20211224/#tokendef-open-square */ OpenSquare = "[-token", /** https://www.w3.org/TR/2021/CRD-css-syntax-3-20211224/#tokendef-close-square */ CloseSquare = "]-token", /** https://www.w3.org/TR/2021/CRD-css-syntax-3-20211224/#tokendef-open-curly */ OpenCurly = "{-token", /** https://www.w3.org/TR/2021/CRD-css-syntax-3-20211224/#tokendef-close-curly */ CloseCurly = "}-token", /** https://drafts.csswg.org/css-syntax/#typedef-unicode-range-token */ UnicodeRange = "unicode-range-token" } export declare enum NumberType { Integer = "integer", Number = "number" } export declare enum HashType { Unrestricted = "unrestricted", ID = "id" } export type TokenAtKeyword = Token; export type TokenBadString = Token; export type TokenBadURL = Token; export type TokenCDC = Token; export type TokenCDO = Token; export type TokenColon = Token; export type TokenComma = Token; export type TokenComment = Token; export type TokenDelim = Token; export type TokenDimension = Token; export type TokenEOF = Token; export type TokenFunction = Token; export type TokenHash = Token; export type TokenIdent = Token; export type TokenNumber = Token; export type TokenPercentage = Token; export type TokenSemicolon = Token; export type TokenString = Token; export type TokenURL = Token; export type TokenWhitespace = Token; export type TokenOpenParen = Token; export type TokenCloseParen = Token; export type TokenOpenSquare = Token; export type TokenCloseSquare = Token; export type TokenOpenCurly = Token; export type TokenCloseCurly = Token; export type TokenUnicodeRange = Token; export type CSSToken = TokenAtKeyword | TokenBadString | TokenBadURL | TokenCDC | TokenCDO | TokenColon | TokenComma | TokenComment | TokenDelim | TokenDimension | TokenEOF | TokenFunction | TokenHash | TokenIdent | TokenNumber | TokenPercentage | TokenSemicolon | TokenString | TokenURL | TokenWhitespace | TokenOpenParen | TokenCloseParen | TokenOpenSquare | TokenCloseSquare | TokenOpenCurly | TokenCloseCurly | TokenUnicodeRange; export type Token = [ /** The type of token */ T, /** The token representation */ string, /** Start position of representation */ number, /** End position of representation */ number, /** Extra data */ U ]; export declare function mirrorVariantType(type: TokenType): TokenType | null; export declare function mirrorVariant(token: CSSToken): CSSToken | null; export declare function isToken(x: any): x is CSSToken;