import { FastifyReply } from "fastify"; import { HowToService } from "../services/how-to.service"; /** * Unauthenticated read surface for PUBLISHED help articles (draft = false). * Auth in this package is per-controller; omitting JwtAuthGuard makes these routes public. * * OPT-IN ONLY: this controller is registered exclusively by * `HowToModule.forRoot({ publicRoutes: true })`. Importing `HowToModule` * statically — or calling `forRoot()` with no arguments — mounts the * authenticated `HowToController` alone, so no consumer publishes its guides by * accident. The read filter is `draft IS NULL OR draft = false`, which means a * guide created without a `draft` property is served here. */ export declare class HowToPublicController { private readonly howToService; constructor(howToService: HowToService); findPublished(reply: FastifyReply, query: any, type?: string): Promise; findArticle(reply: FastifyReply, howToType: string, slug: string): Promise; findRelated(reply: FastifyReply, howToType: string, slug: string, query: any): Promise; } //# sourceMappingURL=how-to.public.controller.d.ts.map