UNPKG

contentful-batch-libs

Version:

Library modules used by contentful batch utility CLI tools.

21 lines (20 loc) 545 B
export interface BasicAuthorization { username?: string; password?: string; } export interface ProxyOptions { host: string; port: number; auth?: BasicAuthorization; } export declare function proxyStringToObject(proxyString: string): { host: string; port: number; isHttps: boolean; auth: { username: string; password: string; } | undefined; }; export declare function proxyObjectToString(proxyObject: ProxyOptions): string; export declare function agentFromProxy(proxy?: ProxyOptions): {};