import type { IAuthRouteConfig } from '../../controllers/index.js'; /** Generic route decorator. Registers route config in metadata registry. */ export declare const api: (opts: { configs: RestRouteConfigType; }) => (target: any, propertyKey: string | symbol, _descriptor: PropertyDescriptor) => void; /** GET route decorator. Equivalent to @api but automatically sets method to 'get'. */ export declare const get: >(opts: { configs: RestRouteConfigType; }) => (target: any, propertyKey: string | symbol, _descriptor: PropertyDescriptor) => void; /** POST route decorator. Equivalent to @api but automatically sets method to 'post'. */ export declare const post: >(opts: { configs: RestRouteConfigType; }) => (target: any, propertyKey: string | symbol, _descriptor: PropertyDescriptor) => void; /** PUT route decorator. Equivalent to @api but automatically sets method to 'put'. */ export declare const put: >(opts: { configs: RestRouteConfigType; }) => (target: any, propertyKey: string | symbol, _descriptor: PropertyDescriptor) => void; /** PATCH route decorator. Equivalent to @api but automatically sets method to 'patch'. */ export declare const patch: >(opts: { configs: RestRouteConfigType; }) => (target: any, propertyKey: string | symbol, _descriptor: PropertyDescriptor) => void; /** DELETE route decorator. Equivalent to @api but automatically sets method to 'delete'. */ export declare const del: >(opts: { configs: RestRouteConfigType; }) => (target: any, propertyKey: string | symbol, _descriptor: PropertyDescriptor) => void; //# sourceMappingURL=rest.d.ts.map