import type { TokenProvider } from '../../core/environment.js'; import type { DesignTokens, DtifFlattenedToken } from '../../core/types.js'; import type { NodeEnvironment } from '@lapidist/dsr/environments/node'; export type DsrEnvironmentFactory = () => Promise; /** * Token provider that fetches the full design token graph from a running * DSR kernel via the DSQL protocol. Receives a factory so the connection is * deferred until load() is called and can be disposed cleanly afterwards. * * Uses forProperty('') to retrieve all tokens — the kernel falls through to * "return all non-deprecated tokens" when the CSS property string is not * recognised. */ export declare class DsrTokenProvider implements TokenProvider { #private; constructor(factory: DsrEnvironmentFactory); load(): Promise>; dispose(): Promise; } //# sourceMappingURL=dsr-token-provider.d.ts.map