///
declare interface HttpReqOptions {
readonly parameters?: Record;
readonly json?: boolean;
readonly files?: Record;
readonly body?: unknown;
readonly headers?: Record;
readonly cookies?: ReadonlyArray;
readonly auth?: unknown;
readonly binary?: boolean;
readonly allowRedirects?: boolean;
readonly maxRedirects?: number;
readonly encodePostParameters?: boolean;
readonly timeout?: number;
readonly proxy?: unknown;
readonly host?: string;
readonly port?: number;
readonly protocol?: 'http' | 'https';
readonly rejectUnauthorized?: boolean;
}
interface Options extends HttpReqOptions {
readonly url: string;
readonly username: string;
readonly password: string;
readonly workstation?: string;
readonly domain?: string;
readonly lm_password?: Buffer;
readonly nt_password?: Buffer;
readonly [key: string]: unknown;
}
interface Result {
headers: Record;
body: unknown;
statusCode: number;
[key: string]: any;
}
export declare function method(stringMethod: 'get' | 'put' | 'patch' | 'post' | 'delete' | 'options', options: Options): Promise;
export declare function get(options: Options): Promise;
export declare function put(options: Options): Promise;
export declare function patch(options: Options): Promise;
export declare function post(options: Options): Promise;
export declare function del(options: Options): Promise;
export declare function options(options: Options): Promise;
export {};