UNPKG

@paroicms/server

Version:
12 lines (11 loc) 378 B
import type { DocumentInfo } from "@paroicms/public-server-lib"; import type { SiteContext } from "../site-context/site-context.types.js"; export declare function searchDocumentsProgrammaticApi(siteContext: SiteContext, input: { language: string; words: string[]; limit?: number; offset?: number; }): Promise<{ items: DocumentInfo[]; total?: number; }>;