export interface HttpServicePort { /** * Performs a GET request to retrieve data from the specified URL. * * @param url The URL to send the GET request to * * @param headers Optional headers to include in the request * @returns A promise resolving to the response data */ get(url: string, headers?: Record): Promise; /** * Performs a POST request to send data to the specified URL. * * @param url The URL to send the POST request to * @param data The data payload to include in the request body * * @param headers Optional headers to include in the request * @returns A promise resolving to the response data */ post(url: string, data: any, headers?: Record): Promise; /** * Performs a PATCH request to update data at the specified URL. * * @param url The URL to send the PATCH request to * @param data The partial data payload to include in the request body * @param headers Optional headers to include in the request * @returns A promise resolving to the response data */ patch(url: string, data: any, headers?: Record): Promise; /** * Performs a PUT request to update or replace data at the specified URL. * * @param url The URL to send the PUT request to * @param data The full data payload to include in the request body * @param headers Optional headers to include in the request * @returns A promise resolving to the response data */ put(url: string, data: any, headers?: Record): Promise; /** * Performs a DELETE request to remove data at the specified URL. * * @param url The URL to send the DELETE request to * @param headers Optional headers to include in the request * @returns A promise resolving to the response data */ delete(url: string, headers?: Record): Promise; } //# sourceMappingURL=http.ports.d.ts.map