UNPKG

533 BTypeScriptView Raw
1import { Octokit as Core } from "@octokit/core";
2import { type PaginateInterface } from "@octokit/plugin-paginate-rest";
3import { legacyRestEndpointMethods } from "@octokit/plugin-rest-endpoint-methods";
4export type { RestEndpointMethodTypes } from "@octokit/plugin-rest-endpoint-methods";
5type Constructor<T> = new (...args: any[]) => T;
6export declare const Octokit: typeof Core & Constructor<ReturnType<typeof legacyRestEndpointMethods> & {
7 paginate: PaginateInterface;
8}>;
9export type Octokit = InstanceType<typeof Octokit>;