declare module 'expressjs-json-rpc' { /** */ export * from 'expressjs-json-rpc/target/es5'; } // Generated by dts-bundle v0.7.5 // Dependencies for this module: // ../../../../../../../reflect-metadata // ../../../../../../../@qiwi/json-rpc-common // ../../../../../../../@qiwi/substrate declare module 'expressjs-json-rpc/target/es5' { import 'reflect-metadata'; import { IParsedObject } from '@qiwi/json-rpc-common'; import { IMetaTypedValue, INext, IRequest, IResponse } from '@qiwi/substrate'; export * from '@qiwi/json-rpc-common'; export enum ParamMetadataKeys { REQUEST = "request", ID = "id", PARAMS = "params", CLIENT = "client", SECURITY = "security", REQ = "req", RES = "res", NEXT = "next", BODY = "body", QUERY = "query", PARAM = "param", HEADERS = "headers", SESSION = "session", FILE = "file", FILES = "files", HOST = "host", IP = "ip" } type IJsonRpcMetaTypedValue = IMetaTypedValue & { reqresnext: { req: IRequest; res: IResponse; next: INext; }; }; export function JsonRpcMiddleware(): ClassDecorator; export const exchangeCommonKeyMetadataForValue: (boxedJsonRpc: IJsonRpcMetaTypedValue, { type, value }: { type: any; value: any; }) => any; export const JsonRpcData: (type?: ParamMetadataKeys, value?: any) => (target: Object, propertyKey: string, index: number) => void; export const RpcId: () => (target: Object, propertyKey: string, index: number) => void; export const JsonRpcId: () => (target: Object, propertyKey: string, index: number) => void; export const JsonRpcParams: (value?: string | undefined) => (target: Object, propertyKey: string, index: number) => void; export const Res: () => (target: Object, propertyKey: string, index: number) => void; export const Req: () => (target: Object, propertyKey: string, index: number) => void; export const Next: () => (target: Object, propertyKey: string, index: number) => void; export const Body: (value?: string | undefined) => (target: Object, propertyKey: string, index: number) => void; export const Param: (value?: string | undefined) => (target: Object, propertyKey: string, index: number) => void; export const Query: (value?: string | undefined) => (target: Object, propertyKey: string, index: number) => void; export const Headers: (value?: string | undefined) => (target: Object, propertyKey: string, index: number) => void; export const Ip: () => (target: Object, propertyKey: string, index: number) => void; export const JsonRpcMethod: (method: string) => (target: any, propertyKey: string) => void; } // Generated by dts-bundle v0.7.5 // Dependencies for this module: // ../../../../../../../reflect-metadata // ../../../../../../../@qiwi/json-rpc-common // ../../../../../../../@qiwi/substrate declare module 'expressjs-json-rpc/target/es6' { import 'reflect-metadata'; import { IParsedObject } from '@qiwi/json-rpc-common'; import { IMetaTypedValue, INext, IRequest, IResponse } from '@qiwi/substrate'; export * from '@qiwi/json-rpc-common'; export enum ParamMetadataKeys { REQUEST = "request", ID = "id", PARAMS = "params", CLIENT = "client", SECURITY = "security", REQ = "req", RES = "res", NEXT = "next", BODY = "body", QUERY = "query", PARAM = "param", HEADERS = "headers", SESSION = "session", FILE = "file", FILES = "files", HOST = "host", IP = "ip" } type IJsonRpcMetaTypedValue = IMetaTypedValue & { reqresnext: { req: IRequest; res: IResponse; next: INext; }; }; export function JsonRpcMiddleware(): ClassDecorator; export const exchangeCommonKeyMetadataForValue: (boxedJsonRpc: IJsonRpcMetaTypedValue, { type, value }: { type: any; value: any; }) => any; export const JsonRpcData: (type?: ParamMetadataKeys, value?: any) => (target: Object, propertyKey: string, index: number) => void; export const RpcId: () => (target: Object, propertyKey: string, index: number) => void; export const JsonRpcId: () => (target: Object, propertyKey: string, index: number) => void; export const JsonRpcParams: (value?: string | undefined) => (target: Object, propertyKey: string, index: number) => void; export const Res: () => (target: Object, propertyKey: string, index: number) => void; export const Req: () => (target: Object, propertyKey: string, index: number) => void; export const Next: () => (target: Object, propertyKey: string, index: number) => void; export const Body: (value?: string | undefined) => (target: Object, propertyKey: string, index: number) => void; export const Param: (value?: string | undefined) => (target: Object, propertyKey: string, index: number) => void; export const Query: (value?: string | undefined) => (target: Object, propertyKey: string, index: number) => void; export const Headers: (value?: string | undefined) => (target: Object, propertyKey: string, index: number) => void; export const Ip: () => (target: Object, propertyKey: string, index: number) => void; export const JsonRpcMethod: (method: string) => (target: any, propertyKey: string) => void; }