require("./chunk-9hOWP6kD.cjs");
const require_store_api_context = require("./store-api-context-D1gZn22Z.cjs");
let _tanstack_react_query = require("@tanstack/react-query");
//#region src/hooks/use-store.ts
/**
* Fetches the tenant store branding from GET /api/store.
*/
function useStore() {
	const api = require_store_api_context.useStoreApi();
	return (0, _tanstack_react_query.useQuery)({
		queryKey: ["portalTenant", "store"],
		queryFn: async () => {
			return (await api.fetchStore()).store;
		},
		staleTime: 300 * 1e3
	});
}
//#endregion
Object.defineProperty(exports, "useStore", {
	enumerable: true,
	get: function() {
		return useStore;
	}
});

//# sourceMappingURL=use-store-DvtLtZ3f.cjs.map