import type { Theme } from "../.."; import type { UseThemePrimitivesProps } from "./types"; /** * `useThemePrimitives()` * * This hook can be used to get a specific group of primitives from the given theme and subtheme. * If theme or subtheme are not specified, it will return primitives for all themes and subthemes. */ declare function useThemePrimitives(themeFile: Theme.GriddoTheme, props: UseThemePrimitivesProps): ({ 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 { useThemePrimitives };