import type { FindAnswersOptions } from '@algolia/client-search'; import type { FederatedHits, HitWithAnswer, Source, SourceId } from './types'; export declare const getContainerAndButton: (inputSelector: string) => [HTMLElement, HTMLElement]; export declare const getElement: (selector: string) => TElement; export declare const debounced: (params: TParams) => Promise; export declare const getSortedHits: (SOURCES: Source[], query: string, genericAnswerParams?: Omit & { EXPERIMENTAL_illuminate?: number; clickAnalytics?: boolean; }) => Promise<{ hits: Array & { sourceId: SourceId; }>; }>; export declare const parse: (html: string, selector: string) => HTMLElement; export declare const capitalizeFirst: (text: string) => string; export interface GroupedArrayObject { title: string; items: T[]; } export declare const groupBy: , K extends keyof T>(array: T[], groupKey: K) => GroupedArrayObject[];