You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
723 B
19 lines
723 B
2 years ago
|
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;
|
||
|
}
|