dumi-theme-lobehub
Version:
dumi-theme-lobehub is a documentation site theme package designed for dumi2. It provides a more beautiful and user-friendly development and reading experience based on @lobehub/ui
21 lines (20 loc) • 809 B
TypeScript
import type { ThemeMode } from 'antd-style';
interface Store {
themeMode: ThemeMode;
}
export declare const useThemeStore: import("zustand/traditional").UseBoundStoreWithEqualityFn<Omit<import("zustand").StoreApi<Store>, "persist"> & {
persist: {
setOptions: (options: Partial<import("zustand/middleware").PersistOptions<Store, {
themeMode: ThemeMode;
}>>) => void;
clearStorage: () => void;
rehydrate: () => void | Promise<void>;
hasHydrated: () => boolean;
onHydrate: (fn: (state: Store) => void) => () => void;
onFinishHydration: (fn: (state: Store) => void) => () => void;
getOptions: () => Partial<import("zustand/middleware").PersistOptions<Store, {
themeMode: ThemeMode;
}>>;
};
}>;
export {};