import { IDecorator } from "oly-core"; import { IRouterPropertyApi } from "../interfaces"; export declare type IApiOptions = Partial; export declare class ApiDecorator implements IDecorator { private options; constructor(options?: IApiOptions); asMethod(target: object, propertyKey: string, descriptor: TypedPropertyDescriptor): void; asProperty(target: object, propertyKey: string): void; } export declare const api: (data?: Partial | undefined, p?: string | undefined, i?: number | undefined) => (data?: object | Function | undefined, p?: string | undefined, i?: number | TypedPropertyDescriptor | undefined) => any;