import { UnknownAction } from '@reduxjs/toolkit';
import { Controller } from '../../controllers/controller/headless-controller.js';
import { ControllersMap, InferControllerStaticStateMapFromControllers } from '../ssr-engine/types/common.js';
import { SSRCommerceEngine } from './factories/build-factory.js';
import { ControllerDefinitionOption, ControllerDefinitionsMap, EngineStaticState, InferControllerPropsMapFromDefinitions, InferControllersMapFromDefinition, SolutionType } from './types/common.js';
export declare function createStaticState<TSearchAction extends UnknownAction>({ searchActions, controllers, }: {
    searchActions: TSearchAction[];
    controllers: ControllersMap;
}): EngineStaticState<TSearchAction, InferControllerStaticStateMapFromControllers<ControllersMap>>;
export declare function buildControllerDefinitions<TControllerDefinitionsMap extends ControllerDefinitionsMap<Controller>, TSolutionType extends SolutionType>({ definitionsMap, engine, solutionType, propsMap, }: {
    definitionsMap: TControllerDefinitionsMap;
    engine: SSRCommerceEngine;
    solutionType: TSolutionType;
    propsMap: InferControllerPropsMapFromDefinitions<TControllerDefinitionsMap>;
}): InferControllersMapFromDefinition<TControllerDefinitionsMap, TSolutionType>;
export declare function ensureAtLeastOneSolutionType(options?: ControllerDefinitionOption): void;
