import { AppRoute } from '@ts-rest/core';
import { TsRestOptions } from './ts-rest-options';
type TsRestType = {
    (appRoute: AppRoute, options?: TsRestOptions): MethodDecorator;
    (options: TsRestOptions): ClassDecorator;
};
/**
 * As a class decorator, you can configure ts-rest options. As a method decorator, you can assign the route and also configure options
 * @param appRouteOrOptions For a method decorator, this is the route. For a class decorator, this is the options
 * @param options For a method decorator, this is the options
 *
 * @deprecated Please use `TsRestHandler` instead - will be removed in v4
 */
export declare const TsRest: TsRestType;
/**
 * @deprecated Please use `TsRestHandler` instead - will be removed in v4
 */
export declare const Api: (appRoute: AppRoute) => MethodDecorator;
export {};
