1 | declare module "icss-utils" {
|
2 | import { Container } from "postcss";
|
3 |
|
4 | export type Replacements = Record<string, string>;
|
5 | export type CSSImports = Record<string, Record<string, string>>;
|
6 | export type CSSExports = Record<string, string>;
|
7 |
|
8 | export interface ExtractedICSS {
|
9 | icssImports: CSSImports;
|
10 | icssExports: CSSExports;
|
11 | }
|
12 |
|
13 | export function replaceValueSymbols(value: string, replacements: Replacements): string;
|
14 | export function replaceSymbols(css: Container, replacements: Replacements): void;
|
15 | export function extractICSS(css: Container, removeRules?: boolean): ExtractedICSS;
|
16 | }
|