import { SizeConfig, SizeModes, TokenSet, Typography, TypographySet } from "../../../types.js"; type SizeStep = SizeConfig['steps'][string]; export declare const generateTypography: (themeName: string, typography: TypographySet) => TokenSet; /** * Scales the font-size scale to a size step, the same way the CSS does: * `round(font-size * baseFontSize / base)`, see `--_ds-font-size-factor` in the type-scale format. * This keeps the font sizes in Figma (which reads these tokens) equal to the font sizes in code. */ export declare const scaleFontSizes: (fontSize: Record, step: SizeStep) => Record; export declare const generateTypographyMode: (mode: SizeModes, typography: Typography, step: SizeStep) => TokenSet; export {};