API reference
API reference
Functions and types from the Primitree packages.
Choose a package entry point:
- Core API: Figma Variables types, REST helpers, normalization, alias resolution, and diffs.
- Core types API: Figma domain and mutation types.
- Core policy API: Governance layers, ownership, value rules, and policy findings.
- DTCG API: DTCG conversion, Resolver handling, and output emitters.
- CLI config API: Typed local sources, architecture rules, ownership, and build outputs.
- React hooks API: React 19 providers and hooks.
- MCP API: MCP server and token-source functions.