UNPKG

664 BTypeScriptView Raw
1export = pluginCreator;
2/** @typedef {object} Options
3 * @property {boolean=} removeAll
4 * @property {boolean=} removeAllButFirst
5 * @property {(s: string) => boolean=} remove
6 */
7/**
8 * @type {import('postcss').PluginCreator<Options>}
9 * @param {Options} opts
10 * @return {import('postcss').Plugin}
11 */
12declare function pluginCreator(opts?: Options): import("postcss").Plugin;
13declare namespace pluginCreator {
14 export { postcss, Options };
15}
16declare var postcss: true;
17type Options = {
18 removeAll?: boolean | undefined;
19 removeAllButFirst?: boolean | undefined;
20 remove?: ((s: string) => boolean) | undefined;
21};
22//# sourceMappingURL=index.d.ts.map
\No newline at end of file