import type { Result, Results } from '@orama/orama'; import type { DocsDocument, ReturningProps } from '../types'; export type SearchResultGroups = [string | null, Array>][]; export type SearchResultFacets = Record; export interface PathToSectionResult { name?: string; isSubSection?: boolean; } export declare function groupSearchResultsBySection(searchResults: Results, returningProps: ReturningProps): SearchResultGroups; export declare function removeHash(text: string): string; export declare function pathToSection(path: string, title?: string): PathToSectionResult; export declare function unslugify(slug: string): string;