Version 1
[yaffs-website] / node_modules / uncss / node_modules / postcss / d.ts / parse.d.ts
1 import LazyResult from './lazy-result';
2 import postcss from './postcss';
3 import Result from './result';
4 import Root from './root';
5 /**
6  * Parses source CSS.
7  * @param css The CSS to parse.
8  * @param options
9  * @returns {} A new Root node, which contains the source CSS nodes.
10  */
11 declare function parse(css: string | {
12     toString(): string;
13 } | LazyResult | Result, options?: {
14     from?: string;
15     map?: postcss.SourceMapOptions;
16 }): Root;
17 declare module parse {
18     var parse: postcss.Syntax | postcss.Parse;
19 }
20 export default parse;