export type RdsThemeMode = 'light' | 'dark'; export declare function buildRdsCssVars(mode: RdsThemeMode): Record; /** * A map of `--rds-*` CSS variable overrides for white-label / multi-brand theming. * * Keys must be valid `--rds-*` CSS variable names that exist in the design token set. * Values must be valid CSS color or size strings (e.g. `'1rem'`, `'2px solid'`). * * @example * const overrides: RdsBrandOverrides = { * '--rds-primary-main': 'var(--brand-primary)', * '--rds-primary-dark': 'var(--brand-primary-dark)', * }; */ export type RdsBrandOverrides = Partial>; /** * Injects all --rds-* tokens onto document.documentElement. * Call on app mount and whenever the theme mode changes. * * @param mode - Theme mode. Only `'light'` and `'dark'` are supported. * @param overrides - Optional brand overrides applied on top of the base token set. */ export declare function injectTokens(mode?: RdsThemeMode, overrides?: RdsBrandOverrides): void; /** * Generates a complete `:root { --rds-* }` CSS string from the design token set. * This function is SSR-safe — it does NOT reference `document` or `window`. * * Use this in Next.js `_document.tsx` or Remix `root.tsx` to inject critical CSS * before hydration, preventing FOUC (flash of unstyled content). * * @param mode - Theme mode to generate CSS for. Defaults to `'light'`. * @returns A complete, valid CSS string ready to inject into a `