import type { DocumentQuery, DbOperation } from './types.ts'; import type { functionContext } from '../fn/functionContext.ts'; import { render } from '../render/index.ts'; /** * Get a single page with rendering * Fetches a document and renders it with the provided function context * * @param client Database client * @param query Query to find the document (by id or path) * @param requestQuery Optional request query parameters * @param fn Function context factory for nested rendering * @returns Rendered document or null if not found */ export declare const getPage: DbOperation<[ DocumentQuery, Record | undefined, typeof functionContext ], Awaited> | null>; //# sourceMappingURL=getPage.d.ts.map