import { Plugin , Root } from 'postcss' ; import _localByDefault from 'postcss-modules-local-by-default' ; import _extractImports from 'postcss-modules-extract-imports' ; import _moduleValues from 'postcss-modules-values' ; import _moduleScope from 'postcss-modules-scope' ; import { extractICSS as _extractICSS } from 'icss-utils' ; export type Modes = 'global' | 'local' | 'pure' ; export const localByDefault = _localByDefault ; export const extractImports = _extractImports ; export const moduleValues = _moduleValues ; export const moduleScope = _moduleScope ; export interface ExtractedICSS { icssImports : Record < string , Record < string , string > > ; icssExports : Record < string , string > ; } export const extractICSS = _extractICSS ;