export declare class HttpieError extends Error { constructor(error: any); } export interface IHttpieResponse { body: T; headers: { [key: string]: string; }; status: number; } declare class Httpie { get(url: string, opts?: any): Promise>; post(url: string, opts?: any): Promise>; put(url: string, opts?: any): Promise>; patch(url: string, opts?: any): Promise>; head(url: string, opts?: any): Promise>; delete(url: string, opts?: any): Promise>; private sendRequest; } export declare const httpie: Httpie; export {};