UNPKG

929 BTypeScriptView Raw
1/* eslint-disable import/no-duplicates */
2declare module "postcss-modules-values" {
3 import { PluginCreator } from "postcss";
4 const plugin: PluginCreator<unknown>;
5 export default plugin;
6}
7
8declare module "postcss-modules-local-by-default" {
9 import { PluginCreator } from "postcss";
10 export type Options = { mode?: "local" | "global" | "pure" };
11 const plugin: PluginCreator<Options>;
12 export default plugin;
13}
14
15declare module "postcss-modules-extract-imports" {
16 import { PluginCreator } from "postcss";
17 export type Options = { failOnWrongOrder?: boolean };
18 const plugin: PluginCreator<Options>;
19 export default plugin;
20}
21
22declare module "postcss-modules-scope" {
23 import { PluginCreator } from "postcss";
24 export type Options = {
25 exportGlobals?: boolean;
26 generateScopedName?: (name: string, file: string, css: string) => string;
27 };
28 const plugin: PluginCreator<Options>;
29 export default plugin;
30}