import type { DesignTokens } from "./irTypes.js";
import type { PrunedNode } from "./prune.js";
/** Extract deduped, stable-ordered design tokens from the pruned screen roots. */
export declare const extractDesignTokens: (screens: readonly PrunedNode[]) => DesignTokens;
/**
 * Re-hydrate a {@link DesignTokens} value from the opaque, serialised tokens artifact persisted in a
 * Figma Snapshot (#753). Total + defensive: a non-object or any malformed family degrades to an empty
 * list so design-to-code (#755) never crashes on an old or partial snapshot. Stable shape, no IO.
 */
export declare const parseDesignTokens: (value: unknown) => DesignTokens;
//# sourceMappingURL=tokens.d.ts.map