import * as react_jsx_runtime from 'react/jsx-runtime'; import * as _exxatdesignux_product_framework_app_store_CnSNvd3J from '@exxatdesignux/product-framework/app-store-CnSNvd3J'; import * as React from 'react'; import { Product, CustomProductBrand } from '@exxatdesignux/product-framework/app-store'; export { Product } from '@exxatdesignux/product-framework/app-store'; /** Re-read the Zustand store and push product chrome onto ``. */ declare function syncActiveProductThemeFromStore(pathname?: string): void; declare function useProduct(): { product: Product; setProduct: (product: Product) => void; customProducts: CustomProductBrand[]; activeCustomIndex: number; customProductBrand: CustomProductBrand | null; addCustomProduct: (brand: CustomProductBrand) => number; updateCustomProduct: (index: number, brand: CustomProductBrand) => void; removeCustomProduct: (index: number) => void; setActiveCustomIndex: (index: number) => void; setCustomProducts: (products: CustomProductBrand[]) => void; productBrandColors: Partial>; setProductBrandColor: (product: Product, color: string | null) => void; hiddenProducts: _exxatdesignux_product_framework_app_store_CnSNvd3J.a[]; hideProduct: (ref: _exxatdesignux_product_framework_app_store_CnSNvd3J.a) => void; showProduct: (ref: _exxatdesignux_product_framework_app_store_CnSNvd3J.a) => void; startupProduct: _exxatdesignux_product_framework_app_store_CnSNvd3J.a | null; setStartupProduct: (ref: _exxatdesignux_product_framework_app_store_CnSNvd3J.a | null) => void; }; type ProductProviderProps = { children: React.ReactNode; /** * **Builder vs end user** in production deploys. * Wire from auth, e.g. `authoring={session.roles.includes("workspace_builder")}`. * Omit to use dev / env defaults only. */ authoring?: boolean; }; declare function ProductProvider({ children, authoring }: ProductProviderProps): react_jsx_runtime.JSX.Element; export { ProductProvider, type ProductProviderProps, syncActiveProductThemeFromStore, useProduct };