import { CSSToken } from '@csstools/css-tokenizer'; import { ParseError } from '@csstools/css-tokenizer'; export declare function addLayerToModel(layers: Array, currentLayerNames: Array): LayerName[]; export declare class LayerName { parts: Array; constructor(parts: Array); tokens(): Array; slice(start: number, end: number): LayerName; concat(other: LayerName): LayerName; segments(): Array; name(): string; equal(other: LayerName): boolean; toString(): string; toJSON(): { parts: CSSToken[]; segments: string[]; name: string; }; } export declare function parse(source: string, options?: { onParseError?: (error: ParseError) => void; }): LayerName[]; export declare function parseFromTokens(tokens: Array, options?: { onParseError?: (error: ParseError) => void; }): LayerName[]; export { }