#!/usr/bin/env -S node -r @swc-node/register import themeDefault from "../theme/default"; type ThemeObject = typeof themeDefault; export declare function flattenToMap(obj: unknown, prefix?: string, map?: Map): Map; export declare function toCssVar(tokenGroup: string, dotPath: string): string; type Group = { /** Slug used for the output filename. */ id: string; /** Storybook title path. */ title: string; /** H1 rendered in the MDX page. */ heading: string; /** Variable name used in code examples (e.g. `sizing`). */ tokenPrefix: string; /** Short blurb shown above the table, rendered as markdown. */ description: string; /** Whether to emit a CSS Variable column. */ includeCssVar: boolean; } & ({ /** * Returns the token subtree for a given theme. One value column is * emitted per theme. */ getTokens: (theme: ThemeObject) => unknown; } | { /** * For tokens that aren't themed (e.g. media query breakpoints). A * single Value column is emitted. */ tokens: unknown; }); export declare const groups: ReadonlyArray; export declare function renderThemedTable(group: Group & { getTokens: (theme: ThemeObject) => unknown; }): string; export declare function renderSimpleTable(group: Group & { tokens: unknown; }): string; export declare function renderMdx(group: Group): string; export declare function generateTokenDocs(outputDir: string): void; export {};