import { ServiceMethodResponse } from "../types/promise"; import { ServiceConfig, ServiceMethods } from "../types/restigo"; import RestigoInstance from "./instance"; export declare class RestigoService { private config; private instance; protected methods: ServiceMethods; constructor(prefix: string, restigoInstance: RestigoInstance, config?: ServiceConfig); getAll(): ServiceMethodResponse; getById(param: IdType): ServiceMethodResponse; deleteAll(): ServiceMethodResponse; deleteById(param: IdType): ServiceMethodResponse; post(data: PayloadData): ServiceMethodResponse; patch(data: PayloadData): ServiceMethodResponse>; put(data: PayloadData): ServiceMethodResponse>; }