import type { Request } from "../Http/Request"; import type { ObjectOf } from "../Types"; import type Application from "../Foundation/Application"; declare class Factory { protected app: Application; protected path: string; protected data: ObjectOf; protected ctx: ObjectOf; constructor(app: Application); make(_path: string, data?: ObjectOf): this; withContext(ctx: ObjectOf): this; render(req: Request): Promise; } export default Factory;