import type { Result } from '../../api/search/search/result.js';
import type { OmniboxSuggestionMetadata } from '../query-suggest/query-suggest-analytics-actions.js';
import type { SearchAction } from '../search/search-actions.js';
import { type ClickAction, type CustomAction, type LegacySearchAction } from './analytics-utils.js';
export interface LogSearchEventActionCreatorPayload {
    /**
     * The identifier of the search action (e.g., `interfaceLoad`).
     * */
    evt: string;
    /**
     * The event metadata.
     * */
    meta?: Record<string, unknown>;
}
export declare const logSearchEvent: (p: LogSearchEventActionCreatorPayload) => LegacySearchAction;
export interface LogClickEventActionCreatorPayload {
    /**
     * The identifier of the click action (e.g., `documentOpen`).
     * */
    evt: string;
    /**
     * The result associated with the click event.
     */
    result: Result;
    /**
     * The event metadata.
     * */
    meta?: Record<string, unknown>;
}
export declare const logClickEvent: (p: LogClickEventActionCreatorPayload) => ClickAction;
export interface LogCustomEventActionCreatorPayload {
    /**
     * The event cause identifier of the custom action
     */
    evt: string;
    /**
     * The event type identifier of the custom action
     */
    type: string;
    /**
     * The event metadata.
     * */
    meta?: Record<string, unknown>;
}
export declare const logCustomEvent: (p: LogCustomEventActionCreatorPayload) => CustomAction;
export declare const logInterfaceLoad: () => LegacySearchAction;
export declare const logInterfaceChange: () => LegacySearchAction;
export declare const logSearchFromLink: () => LegacySearchAction;
export declare const logOmniboxFromLink: (metadata: OmniboxSuggestionMetadata) => LegacySearchAction;
export declare const interfaceLoad: () => SearchAction;
export declare const interfaceChange: () => SearchAction;
export declare const searchFromLink: () => SearchAction;
export declare const omniboxFromLink: () => SearchAction;
