import { AcceptedPlugin } from "postcss"; import { WebPlugin } from "../types"; /** * postcss 的接口 * @property filter 返回 true 则过滤掉这个url */ export declare const _postcss: ({ plugins, options, log, filter, }?: { plugins?: AcceptedPlugin[] | undefined; options?: ((css: string, id: string) => any) | undefined; log?: ((id: string, code: string) => void) | undefined; filter?: ((url: string) => boolean) | undefined; }) => WebPlugin; export declare const postcss: (options: { plugins?: AcceptedPlugin[] | undefined; options?: ((css: string, id: string) => any) | undefined; log?: ((id: string, code: string) => void) | undefined; filter?: ((url: string) => boolean) | undefined; } & import("../utils/wrapPlugin").ExtraOptions) => WebPlugin;