blob: 9b0af1845bd46745ede297589402179a7d819613 [file] [log] [blame]
import type { Octokit } from "@octokit/core";
export type { RestEndpointMethodTypes } from "./generated/parameters-and-response-types.js";
import type { Api } from "./types.js";
export declare function restEndpointMethods(octokit: Octokit): Api;
export declare namespace restEndpointMethods {
var VERSION: string;
}
export declare function legacyRestEndpointMethods(octokit: Octokit): Api["rest"] & Api;
export declare namespace legacyRestEndpointMethods {
var VERSION: string;
}