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.
8 lines
450 B
8 lines
450 B
import { CSSToken, ParseError } from '@csstools/css-tokenizer';
|
|
import { CustomMedia } from '../nodes/custom-media';
|
|
export type Options = {
|
|
preserveInvalidMediaQueries?: boolean;
|
|
onParseError?: (error: ParseError) => void;
|
|
};
|
|
export declare function parseCustomMediaFromTokens(tokens: Array<CSSToken>, options?: Options): CustomMedia | false;
|
|
export declare function parseCustomMedia(source: string, options?: Options): CustomMedia | false;
|
|
|