summaryrefslogtreecommitdiff
path: root/node_modules/@csstools/postcss-cascade-layers/dist/model.d.ts
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/@csstools/postcss-cascade-layers/dist/model.d.ts')
-rw-r--r--node_modules/@csstools/postcss-cascade-layers/dist/model.d.ts18
1 files changed, 18 insertions, 0 deletions
diff --git a/node_modules/@csstools/postcss-cascade-layers/dist/model.d.ts b/node_modules/@csstools/postcss-cascade-layers/dist/model.d.ts
new file mode 100644
index 00000000..38a268e4
--- /dev/null
+++ b/node_modules/@csstools/postcss-cascade-layers/dist/model.d.ts
@@ -0,0 +1,18 @@
+import type { AtRule } from 'postcss';
+export declare class Model {
+ anonymousLayerCount: number;
+ layerCount: number;
+ layerOrder: Map<string, number>;
+ layerParamsParsed: Map<string, Array<string>>;
+ layerNameParts: Map<string, Array<string>>;
+ constructor();
+ createAnonymousLayerName(): string;
+ createImplicitLayerName(layerName: string): string;
+ addLayerParams(key: string, parts?: string): void;
+ addLayerParams(key: string, parts: Array<string>): void;
+ addLayerNameParts(parts: string): void;
+ addLayerNameParts(parts: Array<string>): void;
+ getLayerParams(layer: AtRule): Array<string>;
+ getLayerNameList(layerName: string): Array<string>;
+ sortLayerNames(): void;
+}