import type { Theme } from "../.."; import type { UseThemeFontProps } from "./types"; /** * `useThemeFont()` * * This hook can be used to get font related primitives from the given theme and subtheme. * If theme or subtheme are not specified, it will return font primitives for all themes and subthemes. */ declare function useThemeFont(themeFile: Theme.GriddoTheme, props?: UseThemeFontProps): ({ primitives: Theme.Primitives; subthemes: ({ primitives: Theme.Primitives; preferColorScheme: true; id: string; name: string; selector: string; description?: string; } | { primitives: Theme.Primitives; preferColorScheme?: false; id: string; name: string; selector: string; description?: string; })[]; preferColorScheme: true; id: string; name: string; selector: string; description?: string; customMedia?: { [key: `--${string}`]: string; }; } | { primitives: Theme.Primitives; subthemes: ({ primitives: Theme.Primitives; preferColorScheme: true; id: string; name: string; selector: string; description?: string; } | { primitives: Theme.Primitives; preferColorScheme?: false; id: string; name: string; selector: string; description?: string; })[]; preferColorScheme?: false; id: string; name: string; selector: string; description?: string; customMedia?: { [key: `--${string}`]: string; }; } | { primitives: Theme.Primitives; subthemes: ({ primitives: Theme.Primitives; preferColorScheme: true; id: string; name: string; selector: string; description?: string; } | { primitives: Theme.Primitives; preferColorScheme?: false; id: string; name: string; selector: string; description?: string; })[]; preferColorScheme: true; id: string; name: string; selector: string; description?: string; } | { primitives: Theme.Primitives; subthemes: ({ primitives: Theme.Primitives; preferColorScheme: true; id: string; name: string; selector: string; description?: string; } | { primitives: Theme.Primitives; preferColorScheme?: false; id: string; name: string; selector: string; description?: string; })[]; preferColorScheme?: false; id: string; name: string; selector: string; description?: string; })[]; export { useThemeFont };