1 | import { Container, Rule } from "postcss";
|
2 |
|
3 | export interface Replacements {
|
4 | [key: string]: string;
|
5 | }
|
6 |
|
7 | export interface CSSImports {
|
8 | [key: string]: { [key: string]: string };
|
9 | }
|
10 |
|
11 | export interface CSSExports {
|
12 | [key: string]: string;
|
13 | }
|
14 |
|
15 | export interface ExtractedICSS {
|
16 | icssImports: CSSImports;
|
17 | icssExports: CSSExports;
|
18 | }
|
19 |
|
20 | export function replaceValueSymbols(value: string, replacements: Replacements): string;
|
21 |
|
22 | export function replaceSymbols(css: Container, replacements: Replacements): void;
|
23 |
|
24 | export function extractICSS(css: Container, removeRules?: boolean): ExtractedICSS;
|
25 |
|
26 | export function createICSSRules(imports: CSSImports, exports: CSSExports): Rule[];
|