@nosto/shopify-hydrogen
Version:
Component library to implement Nosto within Shopify Hydrogen
21 lines (20 loc) • 442 B
TypeScript
type CountryLegacy = {
market?: {
id?: string;
};
} | null;
type RootLike = {
language?: string;
selectedLocale?: {
language?: string;
currency?: string;
};
nostoProviderData?: {
localization?: {
country?: CountryLegacy;
};
};
nostoSessionData?: unknown | Promise<unknown>;
};
export declare function useHydrogenRootFallback(): Partial<RootLike>;
export {};