export declare type METHOD = 'get' | 'post' | 'put' | 'delete'; export interface HttpParam { body?: any; path?: Record; query?: Record; } export interface IPipeHandler { toHttp?: (param: REQ) => HttpParam; fromHttp?: (param: Required) => REQ; } export interface AInterface { name: string; path?: string; url?: (param: REQ) => string; method?: METHOD; validation?: (param: REQ) => void; pipe?: IPipeHandler; } export interface IBuilder { url: (url: (param: REQ) => string) => IBuilder; path: (path: string) => IBuilder; method: (method: METHOD) => IBuilder; validation: (handle: (param: REQ) => void) => IBuilder; pipeToHttp: (handle: (param: REQ) => HttpParam) => IBuilder; pipeFromHttp: (handle: (param: Required) => REQ) => IBuilder; factory: () => AInterface; } export declare function AActionOverider(m: AInterface): IBuilder; export declare function AActionFactory(name: string, path?: string): IBuilder; //# sourceMappingURL=index.d.ts.map