epiphany/node_modules/@csstools/cascade-layer-name-parser/dist/nodes/layer-name.d.ts
2023-12-09 22:48:07 -08:00

17 lines
491 B
TypeScript

import { CSSToken } from '@csstools/css-tokenizer';
export declare class LayerName {
parts: Array<CSSToken>;
constructor(parts: Array<CSSToken>);
tokens(): Array<CSSToken>;
slice(start: number, end: number): LayerName;
concat(other: LayerName): LayerName;
segments(): Array<string>;
name(): string;
equal(other: LayerName): boolean;
toString(): string;
toJSON(): {
parts: CSSToken[];
segments: string[];
name: string;
};
}