import type { DecoratorOptions } from '../types/core.js'; import type { KnownAny } from '../types/utils.js'; /** * Prefix for all routes in the controller. */ export declare const prefix: (givenPath?: string) => (givenTarget: KnownAny, _context?: KnownAny) => KnownAny; /** * Clones metadata from parent controller to child controller. */ export declare function cloneControllerMetadata(): KnownAny>(c: T, _context?: KnownAny) => T; /** * GET HTTP method decorator. */ export declare const get: { (givenPath?: string | undefined, options?: DecoratorOptions | undefined): (givenTarget: unknown, propertyKeyOrContext?: unknown) => KnownAny; auto: (options?: DecoratorOptions) => (givenTarget: unknown, propertyKeyOrContext?: unknown) => KnownAny; }; /** * POST HTTP method decorator. */ export declare const post: { (givenPath?: string | undefined, options?: Omit | undefined): (givenTarget: unknown, propertyKeyOrContext?: unknown) => KnownAny; auto: (options?: DecoratorOptions) => (givenTarget: unknown, propertyKeyOrContext?: unknown) => KnownAny; }; /** * PUT HTTP method decorator. */ export declare const put: { (givenPath?: string | undefined, options?: Omit | undefined): (givenTarget: unknown, propertyKeyOrContext?: unknown) => KnownAny; auto: (options?: DecoratorOptions) => (givenTarget: unknown, propertyKeyOrContext?: unknown) => KnownAny; }; /** * PATCH HTTP method decorator. */ export declare const patch: { (givenPath?: string | undefined, options?: Omit | undefined): (givenTarget: unknown, propertyKeyOrContext?: unknown) => KnownAny; auto: (options?: DecoratorOptions) => (givenTarget: unknown, propertyKeyOrContext?: unknown) => KnownAny; }; /** * DELETE HTTP method decorator. */ export declare const del: { (givenPath?: string | undefined, options?: Omit | undefined): (givenTarget: unknown, propertyKeyOrContext?: unknown) => KnownAny; auto: (options?: DecoratorOptions) => (givenTarget: unknown, propertyKeyOrContext?: unknown) => KnownAny; }; /** * HEAD HTTP method decorator. */ export declare const head: { (givenPath?: string | undefined, options?: Omit | undefined): (givenTarget: unknown, propertyKeyOrContext?: unknown) => KnownAny; auto: (options?: DecoratorOptions) => (givenTarget: unknown, propertyKeyOrContext?: unknown) => KnownAny; }; /** * OPTIONS HTTP method decorator. */ export declare const options: { (givenPath?: string | undefined, options?: Omit | undefined): (givenTarget: unknown, propertyKeyOrContext?: unknown) => KnownAny; auto: (options?: DecoratorOptions) => (givenTarget: unknown, propertyKeyOrContext?: unknown) => KnownAny; };