change-string-case/node_modules/@actions/github/lib/internal/utils.d.ts

10 lines
564 B
TypeScript
Raw Normal View History

2022-11-04 00:55:07 +08:00
/// <reference types="node" />
import * as http from 'http';
import { OctokitOptions } from '@octokit/core/dist-types/types';
2023-10-26 04:27:07 +08:00
import { ProxyAgent, fetch } from 'undici';
2022-11-04 00:55:07 +08:00
export declare function getAuthString(token: string, options: OctokitOptions): string | undefined;
export declare function getProxyAgent(destinationUrl: string): http.Agent;
2023-10-26 04:27:07 +08:00
export declare function getProxyAgentDispatcher(destinationUrl: string): ProxyAgent | undefined;
export declare function getProxyFetch(destinationUrl: any): typeof fetch;
2022-11-04 00:55:07 +08:00
export declare function getApiBaseUrl(): string;