import { Octokit as Core } from "@octokit/core"; import { type PaginateInterface } from "@octokit/plugin-paginate-rest"; import { legacyRestEndpointMethods } from "@octokit/plugin-rest-endpoint-methods"; export type { RestEndpointMethodTypes } from "@octokit/plugin-rest-endpoint-methods"; type Constructor = new (...args: any[]) => T; export declare const Octokit: typeof Core & Constructor & { paginate: PaginateInterface; }>; export type Octokit = InstanceType;