import { type ControllerDefinitionOption, type SubControllerDefinitionWithProps } from '../../../../app/commerce-ssr-engine/types/common.js';
import type { Parameters } from '../../../../features/commerce/parameters/parameters-actions.js';
import type { ProductListingParameters } from '../../../../features/commerce/product-listing-parameters/product-listing-parameters-actions.js';
import type { CommerceSearchParameters } from '../../../../features/commerce/search-parameters/search-parameters-actions.js';
import type { ParameterManager, ParameterManagerProps, ParameterManagerState } from './headless-core-parameter-manager.js';
export type { ParameterManager, ParameterManagerProps, ParameterManagerState, Parameters, ProductListingParameters, CommerceSearchParameters, };
/**
 * Defines a `ParameterManager` controller instance.
 * @group Definers
 *
 * @returns The `ParameterManager` controller definition.
 */
export declare function defineParameterManager<TOptions extends ControllerDefinitionOption | undefined>(options?: TOptions): SubControllerDefinitionWithProps<ParameterManager<MappedParameterTypes<TOptions>>, TOptions, SSRParameterManagerProps<MappedParameterTypes<TOptions>>>;
export interface SSRParameterManagerProps<T extends Parameters> extends Omit<ParameterManagerProps<T>, 'excludeDefaultParameters'> {
}
type MappedParameterTypes<TOptions extends ControllerDefinitionOption | undefined> = TOptions extends {
    listing: true;
    search: true;
} | undefined ? ProductListingParameters | CommerceSearchParameters : TOptions extends {
    listing: true;
    search: false;
} ? ProductListingParameters : TOptions extends {
    listing: false;
    search: true;
} ? CommerceSearchParameters : never;
