@hhgtech/hhg-components
Version:
Hello Health Group common components
21 lines (20 loc) • 872 B
TypeScript
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 };