import type { Readable } from 'node:stream'; import type { FastifyInstance, FastifyReply, FastifyRequest } from 'fastify'; import type { RouteDefinition } from './route.ts'; export interface ReplyDotRenderContext { app?: FastifyInstance; server?: FastifyInstance; req?: FastifyRequest; reply?: FastifyReply; client?: unknown; route?: RouteDefinition; [key: string]: unknown; } export type ReplyDotRenderResult = Record; export type ReplyDotRenderFunction = (this: FastifyReply, ctx?: ReplyDotRenderContext) => ReplyDotRenderResult | Promise; export type ReplyDotHtmlFunction = (this: FastifyReply, ctx?: ReplyDotRenderResult) => FastifyReply | string | Readable | Promise; //# sourceMappingURL=reply.d.ts.map