UNPKG

renovate

Version:

Automated dependency updates. Flexible so you don't need to be.

6 lines (5 loc) 392 B
import type { Options } from 'got'; import type { GotOptions } from './types'; export type AuthGotOptions = Pick<GotOptions, 'hostType' | 'headers' | 'noAuth' | 'context' | 'token' | 'username' | 'password'>; export declare function applyAuthorization<GotOptions extends AuthGotOptions>(inOptions: GotOptions): GotOptions; export declare function removeAuthorization(options: Options): void;