import { Octokit as Core } from "@octokit/core"; import type { Constructor } from "@octokit/core/types"; import { type PaginateInterface } from "@octokit/plugin-paginate-rest"; import { legacyRestEndpointMethods } from "@octokit/plugin-rest-endpoint-methods"; import { ProxyAgent } from "undici"; export type { RestEndpointMethodTypes } from "@octokit/plugin-rest-endpoint-methods"; export declare function getProxyAgent(): ProxyAgent | undefined; export declare const customFetch: (url: string, opts: any) => Promise; export declare const Octokit: typeof Core & Constructor<{ paginate: PaginateInterface; } & ReturnType>; export type Octokit = InstanceType;