import type Stripe from 'stripe';
import type { SerializableResponse, StripeApiFetch } from './apiFetch';
declare class StripeAppsHttpResponse implements Stripe.HttpClientResponse {
    _resp: SerializableResponse;
    constructor(resp: SerializableResponse);
    getHeaders(): {
        [key: string]: string;
    };
    getStatusCode(): number;
    getRawResponse(): SerializableResponse;
    toStream(): void;
    toJSON(): Promise<Object>;
}
export declare class StripeAppsHttpClient implements Stripe.HttpClient {
    _fetch: StripeApiFetch;
    constructor(fetch: StripeApiFetch);
    getClientName(): string;
    makeRequest(host: string, port: string | number, path: string, method: 'GET' | 'POST' | 'PUT' | 'DELETE', headers?: object, requestData?: string | null, protocol?: 'http' | 'https', _timeout?: number): Promise<StripeAppsHttpResponse>;
}
export declare const STRIPE_API_KEY = "DO_NOT_PASS_A_REAL_API_KEY";
export declare const createHttpClient: () => StripeAppsHttpClient;
export declare const AUTHORIZATION_HEADER = "Authorization";
export declare const AUTHORIZATION_VALUE = "Bearer DO_NOT_PASS_A_REAL_API_KEY";
export {};
