import 'reflect-metadata'; /** * @publicApi */ export interface RequestMetadata { url: string; method: string; authentication: boolean; headers: Record; body: string; } /** * @publicApi */ export declare const REQUEST_METADATA: unique symbol; export declare const META_REQUEST_ANNOTATION = "rest-annotations:request-annotation"; export declare const META_DEFAULT_HEADERS = "rest-annotations:default-headers"; export declare const META_DEFAULT_PARAMS = "rest-annotations:default-params"; export declare const META_AUTHENTICATION = "rest-annotations:authentication"; export declare const META_HEADER_CONTENT_TYPE = "rest-annotations:header:content-type"; export declare type RESTDefaultParamProperty = 'headers' | 'paths' | 'queries' | 'fields'; export declare function defineUnionMeta([target, propertyKey, descriptor]: [any, string, any?], key: string, value: any): any; export interface BaseRestResponse { [REQUEST_METADATA]: Promise; }