import { ProSettings } from '@admin-layout/client'; import { MergerSettingsType, SettingDrawerProps } from './types'; /** * Initialize settings from URL parameters and apply theme */ export declare function initState(settings: Partial>, onSettingChange: SettingDrawerProps['onSettingChange'], publicPath?: string, oldSetting?: Partial>): void; /** * Update theme by dynamically loading CSS file */ export declare function updateTheme(dark?: boolean | any, color?: string, publicPath?: string): void; /** * Get theme list with colors based on current settings and device */ export declare function useThemeList(settings: Partial, location: any, routePattern?: string): { colorList: { dark: { key: string; color: string; theme?: "dark" | "light"; }[]; light: { key: string; color: string; theme?: "dark" | "light"; }[]; }; themeList: { key: string; title: string; }[]; }; /** * Parse a dot-separated path into a nested object structure * Example: parseSettingPath('a.b.c', 'value') => { a: { b: { c: 'value' } } } */ export declare function parseSettingPath(path: string, value: any): any; //# sourceMappingURL=helper.d.ts.map