import { ContentEntry, SearchDocument } from "./types"; /** * Converts an Astro content collection to an array of {@link types!SearchDocument}s. * Generally the first argument will be the output of * [`getCollection`](https://docs.astro.build/en/reference/api-reference/#getcollection). * @param collection - a content collection or a promise that will resolve to one * @param baseUrl - the absolute URL for the root of the collection when output * * @example * ```ts * collectionToDocuments(getCollection("blog"), "/blog/"); * ``` */ export declare function collectionToDocuments(collection: ContentEntry[] | Promise, baseUrl?: string): Promise;