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