import type { Controller, ControllerDefinitionsMap, EngineStaticState, InferControllerStaticStateMapFromDefinitionsWithSolutionType, SolutionType } from '@coveo/headless/ssr-commerce-next'; import { type PropsWithChildren } from 'react'; import type { ReactCommerceEngineDefinition } from './commerce-engine.js'; type UnknownAction = { type: string; }; /** * Providers take care of displaying your page with the static * state, and then hydrating the state and displaying the page * with the hydrated state. They are required for your controller hooks to function. * * See [Create providers](https://docs.coveo.com/en/obif0156/#create-providers). * * @group Providers */ export declare function buildProviderWithDefinition, TSolutionType extends SolutionType>(definition: ReactCommerceEngineDefinition): ({ staticState, children, }: PropsWithChildren<{ staticState: EngineStaticState>; }>) => import("react").JSX.Element; export {};