import { RequestOptions, ResponsePromise } from '../request'; export interface NodeRequestOptions extends RequestOptions { agent?: any; ca?: any; cert?: string; ciphers?: string; dataEncoding?: string; followRedirects?: boolean; key?: string; localAddress?: string; passphrase?: string; pfx?: any; proxy?: string; rejectUnauthorized?: boolean; secureProtocol?: string; socketPath?: string; socketOptions?: { keepAlive?: number; noDelay?: boolean; timeout?: number; }; streamData?: boolean; streamEncoding?: string; redirectOptions?: { limit?: number; count?: number; keepOriginalMethod?: boolean; }; } export default function node(url: string, options?: NodeRequestOptions): ResponsePromise;