/** * @author Leonid Vinikov * @description Each rest command should represent a final REST endpoint. */ import { CommandBase } from "./command-base"; export declare abstract class CommandRestful extends CommandBase { static getName(): string; /** * Override this method is required to determine endpoint and magic query params. * * @example * ``` * args = { query: { id: 1 } }; * getEndpoint() = '/api/v1/users/{id}'; * result = '/api/v1/users/1'; * ``` */ getEndpoint(): string; protected apply(args?: import("../interfaces").ICommandArgsInterface, options?: import("../interfaces").ICommandOptionsInterface): Promise; private applyEndpointFormat; }