import { AxiosRequestConfig } from "axios"; /** * Class to facilitate the different web requests needed to query the Plex OAuth API */ export declare class RequestHelper { /** * Make a GET request to the specified endpoint * @param {string} url Request URL * @param {OutgoingHttpHeaders} headers Additional headers to be passed to the request * * @returns {Promise} A promise containing the result of the GET request */ static get(url: string, headers: AxiosRequestConfig["headers"]): Promise; /** * Make a POST request to the specified endpoint * @param {string} url Request URL * @param {string} body Body as a JSON String * @param {OutgoingHttpHeaders} headers Additional headers to be passed to the request * * @returns {Promise} A promise containing the result of the POST request */ static post(url: string, body: string, headers: AxiosRequestConfig["headers"]): Promise; }