1 | export = pluginCreator;
|
2 | /**
|
3 | * @typedef {{precision?: number | false,
|
4 | * preserve?: boolean,
|
5 | * warnWhenCannotResolve?: boolean,
|
6 | * mediaQueries?: boolean,
|
7 | * selectors?: boolean}} PostCssCalcOptions
|
8 | */
|
9 | /**
|
10 | * @type {import('postcss').PluginCreator<PostCssCalcOptions>}
|
11 | * @param {PostCssCalcOptions} opts
|
12 | * @return {import('postcss').Plugin}
|
13 | */
|
14 | declare function pluginCreator(opts: PostCssCalcOptions): import('postcss').Plugin;
|
15 | declare namespace pluginCreator {
|
16 | export { postcss, PostCssCalcOptions };
|
17 | }
|
18 | type PostCssCalcOptions = {
|
19 | precision?: number | false;
|
20 | preserve?: boolean;
|
21 | warnWhenCannotResolve?: boolean;
|
22 | mediaQueries?: boolean;
|
23 | selectors?: boolean;
|
24 | };
|
25 | declare var postcss: true;
|