export interface GenericThemeConfig { /** * Variable prefix mappings for theme parsing */ prefixMappings: Array<{ prefix: string; target: TThemeTarget; }>; /** * CSS class selector mappings for theme targets */ styleMappings: { [key in TThemeTarget]: string; }; /** * Root CSS class for the component */ rootClass: string; /** * Function to update component metadata with themes */ updateMetaData: (data: { themes: Record; }) => void; } /** * Generic theme parsing function that works with any theme type and targets */ export declare function parseGenericThemes, TThemeTarget extends string>(theme: TThemeType | undefined, config: Pick, 'prefixMappings'>): Record | null; /** * Generic custom themes hook that can be configured for different components */ export declare function useGenericCustomThemes, TThemeTarget extends string>(theme: TThemeType | undefined, config: GenericThemeConfig): Record;