import { type LinkDefinition, type PageData } from '@dosgato/templating'; import { type Index, type SingleValueIndex } from '../internal.js'; export declare function getPageIndexes(page: PageData): Index[]; /** * Returns all the text a phraseSearch should be able to match, including the URLs of external * and email links so that searches like '@example.com' will work. */ export declare function getPageTexts(page: PageData): string[]; export declare function getPageLinks(page: PageData): LinkDefinition[]; export declare function singleValueIndexesToIndexes(svIndexes: SingleValueIndex[]): { name: string; values: string[]; }[]; export declare function getFulltextNgrams(texts: string[]): Set; export declare function addIndexes(storage: Record>, indexes: SingleValueIndex[]): void; export declare function getKeywords(text?: string, options?: { stopwords?: boolean; }): string[]; export declare const stopwords: Set;