import { FastifyReply } from "fastify"; import type { AuthenticatedRequest } from "../../../common/interfaces/authenticated.request.interface"; import { CacheService } from "../../../core/cache/services/cache.service"; import { AuditService } from "../../audit/services/audit.service"; import { HowToPostDTO } from "../dtos/how-to.post.dto"; import { HowToPutDTO } from "../dtos/how-to.put.dto"; import { HowToService } from "../services/how-to.service"; export declare class HowToController { private readonly howToService; private readonly cacheService; private readonly auditService; private readonly crud; private readonly relationships; constructor(howToService: HowToService, cacheService: CacheService, auditService: AuditService); findAll(reply: FastifyReply, query: any, search?: string, fetchAll?: boolean, orderBy?: string): Promise; /** * Re-queue every guide for chunking — without it a guide that was never * chunked (or lost its chunks) has no route back into the index. * * Declared before the `:howToId` routes so "reindex" is never read as an id. */ reindex(reply: FastifyReply): Promise; findById(request: AuthenticatedRequest, reply: FastifyReply, howToId: string): Promise; create(reply: FastifyReply, body: HowToPostDTO): Promise; update(request: AuthenticatedRequest, reply: FastifyReply, body: HowToPutDTO): Promise; delete(request: AuthenticatedRequest, reply: FastifyReply, howToId: string): Promise; addRelated(request: AuthenticatedRequest, reply: FastifyReply, howToId: string, relatedId: string): Promise; removeRelated(request: AuthenticatedRequest, reply: FastifyReply, howToId: string, relatedId: string): Promise; } //# sourceMappingURL=how-to.controller.d.ts.map