UNPKG

753 BTypeScriptView Raw
1export = 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 */
14declare function pluginCreator(opts: PostCssCalcOptions): import("postcss").Plugin;
15declare namespace pluginCreator {
16 export { postcss, PostCssCalcOptions };
17}
18declare var postcss: true;
19type PostCssCalcOptions = {
20 precision?: number | false;
21 preserve?: boolean;
22 warnWhenCannotResolve?: boolean;
23 mediaQueries?: boolean;
24 selectors?: boolean;
25};