import type { DocumentQuery, RenderDocumentsManyQuery, Upload, UploadsManyQuery } from '../operations/types.ts'; import type { RenderedDoc } from '../render/utils/base.ts'; /** * Shared interface for all function context implementations. * Implemented by: * - functionContext.ts (DB-backed, server-side) * - functionContextClient.ts (API client, makes HTTP requests) * - functionContextFs.ts (filesystem-backed, reads local pages) */ export interface FunctionContext { getPage: (query: DocumentQuery) => Promise; getPages: (options?: RenderDocumentsManyQuery) => Promise; getUploads: (options?: UploadsManyQuery & { path?: string; }) => Promise; } //# sourceMappingURL=types.d.ts.map