import { FastifyPlugin, FastifyReply, RawServerBase } from 'fastify'; declare module "fastify" { interface FastifyReply { view(page: string, data: T): FastifyReply; view(page: string, data?: object): FastifyReply; } } export interface PointOfViewOptions { engine: { ejs?: any; eta?: any; nunjucks?: any; pug?: any; handlebars?: any; mustache?: any; 'art-template'?: any; twig?: any; liquid?: any; dot?: any; }; templates?: string; includeViewExtension?: boolean; options?: object; charset?: string; maxCache?: number; production?: boolean; defaultContext?: object; layout?: string; root?: string; viewExt?: string; propertyName?: string; } declare const pointOfView: FastifyPlugin; export default pointOfView;