1 | import type { Plugin } from 'postcss';
|
2 | import { type ExportTokens } from './css-modules-loader-core';
|
3 | type Dictionary<T> = {
|
4 | [key: string]: T | undefined;
|
5 | };
|
6 | export default class FileSystemLoader {
|
7 | private root;
|
8 | private sources;
|
9 | private importNr;
|
10 | private core;
|
11 | tokensByFile: Dictionary<ExportTokens>;
|
12 | constructor(root: string, plugins?: Plugin[]);
|
13 | fetch(_newPath: string, relativeTo: string, _trace?: string, initialContents?: string): Promise<ExportTokens>;
|
14 | }
|
15 | export {};
|