import type { DtifFlattenedToken, TokenType, RankedToken, DeprecatedToken, ResolvedDtifGraph, DeprecationLedger } from '../types.js'; /** * Executes token queries directly against the in-memory graph. * Methods return Promises to match the remote DSQLClient interface. */ export declare class DSQLTokenQuery { #private; constructor(graph: ResolvedDtifGraph, deprecationLedger: DeprecationLedger, type?: TokenType); /** * Returns tokens ranked by closeness to a raw CSS value for a given CSS property. * Applies colour distance for colour values, numeric proximity for numeric values, * and exact matching otherwise. */ closest(rawValue: string, property: string): Promise; /** Returns all non-deprecated tokens applicable to a CSS property. */ forProperty(cssProperty: string): Promise; /** Returns the token at an exact JSON pointer, or null if not found. */ byPointer(pointer: string): Promise; /** Returns all deprecated tokens along with their deprecation entries. */ deprecated(): Promise; /** Returns the replacement pointer for a deprecated token, or null. */ withReplacement(pointer: string): Promise; /** Returns all tokens in the graph, optionally filtered by type. */ all(): Promise; } //# sourceMappingURL=tokens.d.ts.map