import { EventDescription } from 'coveo.analytics';
import { SearchAppState } from '../../../state/search-app-state.js';
import { ConfigurationSection } from '../../../state/state-sections.js';
import { AutomaticFacetRequest } from '../../facets/automatic-facet-set/interfaces/request.js';
type StateNeededBySearchRequest = ConfigurationSection & Partial<SearchAppState>;
export declare const buildSearchRequest: (state: StateNeededBySearchRequest, eventDescription?: EventDescription) => Promise<import("../search-mappings.js").MappedSearchRequest<{
    pipelineRuleParameters?: import("../../../api/search/search-api-params.js").PipelineRuleParameters;
    generateAutomaticFacets?: {
        desiredCount: number;
        numberOfValues?: number;
        currentFacets?: AutomaticFacetRequest[];
    };
    filterField?: string;
    childField?: string;
    parentField?: string;
    filterFieldRange?: number;
    facetOptions?: import("../../facet-options/facet-options.js").FacetOptions;
    numberOfResults?: number;
    firstResult?: number;
    facets?: import("../../facets/generic/interfaces/generic-facet-request.js").AnyFacetRequest[];
    cq?: string;
    queryCorrection?: {
        enabled?: boolean;
        options?: {
            automaticallyCorrect?: "never" | "whenNoResults";
        };
    };
    enableDidYouMean?: boolean;
    url: string;
    accessToken: string;
    organizationId: string;
    q?: string;
    aq?: string;
    lq?: string;
    dq?: string;
    sortCriteria?: string;
    context?: Record<string, string | string[]>;
    dictionaryFieldContext?: Record<string, string>;
    enableQuerySyntax?: boolean;
    fieldsToInclude?: string[];
    pipeline?: string;
    searchHub?: string;
    debug?: boolean;
    locale?: string;
    tab: string;
    referrer: string | null;
    timezone: string;
    analytics?: {
        actionCause?: string;
        customData?: object;
        clientId: string;
        deviceId?: string;
        pageId?: string;
        clientTimestamp: string;
        documentReferrer: string | null;
        originContext: string;
        userDisplayName?: string;
        documentLocation?: string | null;
        trackingId?: string;
        capture?: boolean;
        source?: string[];
    };
    excerptLength?: number;
    actionsHistory?: import("coveo.analytics/dist/definitions/history.js").HistoryElement[];
    authentication?: string;
}>>;
export {};
