import { AuthService } from "../../auth/services/auth.service"; /** * Company-selection endpoints for company-scoped roles. * * Deliberately NOT part of AuthController: consumers subclass AuthController to * override individual auth flows (e.g. only35's AuthPersonController extends it * with an empty @Controller() prefix), and NestJS re-registers every inherited * base route under the subclass prefix. A route added to AuthController therefore * leaks into subclasses — `@Get("companies")` under an empty prefix collides with * CompanyController's root-mounted `GET /companies` and crashes Fastify with * FST_ERR_DUPLICATED_ROUTE at boot. Keeping these routes on a dedicated, * non-subclassed controller preserves the wire API (/auth/...) without changing * what subclasses inherit. */ export declare class AuthCompanyController { private readonly service; constructor(service: AuthService); findCompanies(): Promise; selectCompany(companyId: string): Promise; } //# sourceMappingURL=auth.company.controller.d.ts.map