import type { EventDescription } from 'coveo.analytics';
import type { NavigatorContext } from '../../app/navigator-context-provider.js';
import type { SearchAppState } from '../../state/search-app-state.js';
import type { ConfigurationSection } from '../../state/state-sections.js';
import type { AutomaticFacetRequest } from '../facets/automatic-facet-set/interfaces/request.js';
type StateNeededBySearchRequest = ConfigurationSection & Partial<SearchAppState>;
export declare const buildSearchRequest: (state: StateNeededBySearchRequest, navigatorContext: NavigatorContext, eventDescription?: EventDescription) => Promise<import("./search-mappings.js").MappedSearchRequest<{
    pipelineRuleParameters?: {
        mlGenerativeQuestionAnswering?: {
            responseFormat: {
                contentFormat?: import("../generated-answer/generated-response-format.js").GeneratedContentFormat[];
            };
            citationsFieldToInclude: string[];
        };
    };
    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/facet-set/interfaces/request.js").FacetRequest | import("../facets/category-facet-set/interfaces/request.js").CategoryFacetRequest | import("../facets/range-facets/numeric-facet-set/interfaces/request.js").NumericFacetRequest | import("../facets/range-facets/date-facet-set/interfaces/request.js").DateFacetRequest)[] | undefined;
    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("../../api/analytics/coveo.analytics/history-store.js").HistoryElement[];
    authentication?: string;
}>>;
export declare function getNumberOfResultsWithinIndexLimit(state: StateNeededBySearchRequest): number | undefined;
export declare function buildConstantQuery(state: StateNeededBySearchRequest): string;
export {};
