import IDestructable from "./IDestructable"; export default interface IService extends IDestructable { /** * Implement direct communication with API or SDK */ sendAllLogs(logs: T[]): Promise; /** * Implement the final processing of logs before sending it directly to the endpoint */ preparePayload(logs: T[]): Promise; serializer(log: T): any; }