@@ -119,7 +119,7 @@ interface CDOCommentToken {
119119 val : string ;
120120}
121121interface BadCDOCommentToken {
122- typ : 'BADCDO ' ;
122+ typ : 'Bad-cdo ' ;
123123 val : string ;
124124}
125125interface IncludesToken {
@@ -642,6 +642,7 @@ declare function isResolution(dimension: DimensionToken): boolean;
642642declare function isAngle ( dimension : DimensionToken ) : boolean ;
643643declare function isTime ( dimension : DimensionToken ) : boolean ;
644644declare function isFrequency ( dimension : DimensionToken ) : boolean ;
645+ declare function isColor ( token : Token ) : boolean ;
645646declare function isIdentStart ( codepoint : number ) : boolean ;
646647declare function isDigit ( codepoint : number ) : boolean ;
647648declare function isIdentCodepoint ( codepoint : number ) : boolean ;
@@ -661,8 +662,10 @@ declare function isWhiteSpace(codepoint: number): boolean;
661662
662663declare const getConfig : ( ) => PropertiesConfig ;
663664
665+ declare const funcList : string [ ] ;
664666declare function matchType ( val : Token , properties : PropertyMapType ) : boolean ;
665667
668+ declare const colorsFunc : string [ ] ;
666669declare function render ( data : AstNode , opt ?: RenderOptions ) : RenderResult ;
667670declare function renderToken ( token : Token , options ?: RenderOptions , reducer ?: ( acc : string , curr : Token ) => string ) : string ;
668671
@@ -695,4 +698,4 @@ declare function resolve(url: string, currentDirectory: string, cwd?: string): {
695698declare function parse ( iterator : string , opt ?: ParserOptions ) : Promise < ParseResult > ;
696699declare function transform ( css : string , options ?: TransformOptions ) : Promise < TransformResult > ;
697700
698- export { combinators , dirname , getConfig , hasDeclaration , isAngle , isAtKeyword , isDigit , isDimension , isFrequency , isFunction , isHash , isHexColor , isHexDigit , isIdent , isIdentCodepoint , isIdentStart , isLength , isNewLine , isNumber , isPercentage , isPseudo , isResolution , isTime , isWhiteSpace , load , matchType , matchUrl , minify , minifyRule , parse , parseDimension , parseString , reduceSelector , render , renderToken , resolve , tokenize , transform , urlTokenMatcher , walk } ;
701+ export { colorsFunc , combinators , dirname , funcList , getConfig , hasDeclaration , isAngle , isAtKeyword , isColor , isDigit , isDimension , isFrequency , isFunction , isHash , isHexColor , isHexDigit , isIdent , isIdentCodepoint , isIdentStart , isLength , isNewLine , isNumber , isPercentage , isPseudo , isResolution , isTime , isWhiteSpace , load , matchType , matchUrl , minify , minifyRule , parse , parseDimension , parseString , reduceSelector , render , renderToken , resolve , tokenize , transform , urlTokenMatcher , walk } ;
0 commit comments