数通智联化工云平台
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
577 B

2 years ago
import { CSSToken } from './interfaces/token';
import { ParseError } from './interfaces/error';
interface Stringer {
valueOf(): string;
}
export declare function tokenize(input: {
css: Stringer;
2 years ago
unicodeRangesAllowed?: boolean;
2 years ago
}, options?: {
onParseError?: (error: ParseError) => void;
}): Array<CSSToken>;
export declare function tokenizer(input: {
css: Stringer;
2 years ago
unicodeRangesAllowed?: boolean;
2 years ago
}, options?: {
onParseError?: (error: ParseError) => void;
}): {
nextToken: () => CSSToken | undefined;
endOfFile: () => boolean;
};
export {};