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