1 | import * as Context from './context';
|
2 | import { GitHub } from './utils';
|
3 | import { OctokitOptions, OctokitPlugin } from '@octokit/core/dist-types/types';
|
4 | export declare const context: Context.Context;
|
5 | /**
|
6 | * Returns a hydrated octokit ready to use for GitHub Actions
|
7 | *
|
8 | * @param token the repo PAT or GITHUB_TOKEN
|
9 | * @param options other options to set
|
10 | */
|
11 | export declare function getOctokit(token: string, options?: OctokitOptions, ...additionalPlugins: OctokitPlugin[]): InstanceType<typeof GitHub>;
|