UNPKG

953 BTypeScriptView Raw
1export = pluginCreator;
2/**
3 * @typedef {{ overrideBrowserslist?: string | string[] }} AutoprefixerOptions
4 * @typedef {Pick<browserslist.Options, 'stats' | 'path' | 'env'>} BrowserslistOptions
5 * @typedef {{ignore?: string[]} & AutoprefixerOptions & BrowserslistOptions} Options
6 */
7/**
8 * @type {import('postcss').PluginCreator<Options>}
9 * @param {Options} options
10 * @return {import('postcss').Plugin}
11 */
12declare function pluginCreator(options?: Options): import("postcss").Plugin;
13declare namespace pluginCreator {
14 export { postcss, AutoprefixerOptions, BrowserslistOptions, Options };
15}
16declare var postcss: true;
17type AutoprefixerOptions = {
18 overrideBrowserslist?: string | string[];
19};
20type BrowserslistOptions = Pick<browserslist.Options, "stats" | "path" | "env">;
21type Options = {
22 ignore?: string[];
23} & AutoprefixerOptions & BrowserslistOptions;
24import browserslist = require("browserslist");
25//# sourceMappingURL=index.d.ts.map
\No newline at end of file