type getSafeResponsePartial = { headers: Headers; statusCode: number; }; export declare function getSafe(url: string, options: { headers?: Record; format: 'text'; }): Promise<{ body: string; } & getSafeResponsePartial>; export declare function getSafe(url: string, options: { headers?: Record; format: 'buffer'; }): Promise<{ body: Buffer; } & getSafeResponsePartial>; export declare function getSafe(url: string, options?: { headers?: Record; format?: 'stream'; }): Promise<{ body: NodeJS.ReadableStream; } & getSafeResponsePartial>; export {};