UNPKG

@hhgtech/hhg-components

Version:
21 lines (20 loc) 872 B
type State = { href: string | null; }; type Actions = { setHref: (href: string | null) => void; getHref: () => string | null; resetHref: () => void; }; declare const useCartCareService: import("zustand").UseBoundStore<Omit<import("zustand").StoreApi<State & Actions>, "persist"> & { persist: { setOptions: (options: Partial<import("zustand/middleware").PersistOptions<State & Actions, unknown>>) => void; clearStorage: () => void; rehydrate: () => void | Promise<void>; hasHydrated: () => boolean; onHydrate: (fn: (state: State & Actions) => void) => () => void; onFinishHydration: (fn: (state: State & Actions) => void) => () => void; getOptions: () => Partial<import("zustand/middleware").PersistOptions<State & Actions, unknown>>; }; }>; export { useCartCareService };