import { AbortError } from '../../../public/node/error.js'; import https from 'https'; declare class RequestClientError extends AbortError { statusCode: number; constructor(message: string, statusCode: number); } export declare class GraphQLClientError extends RequestClientError { errors?: any[]; constructor(message: string, statusCode: number, errors?: any[]); } /** * Removes the sensitive data from the headers and outputs them as a string. * @param headers - HTTP headers. * @returns A sanitized version of the headers as a string. */ export declare function sanitizedHeadersOutput(headers: Record): string; export declare function buildHeaders(token?: string): Record; /** * This utility function returns the https.Agent to use for a given service. */ export declare function httpsAgent(): Promise; export {};