blob: e9b177b40f133a2513932d426f606aeebbdcc87e [file] [log] [blame]
import { Route, RequestParameters } from "@octokit/types";
import { RestEndpointMethods } from "./generated/method-types";
export declare type Api = RestEndpointMethods;
export declare type EndpointDecorations = {
mapToData?: string;
deprecated?: string;
renamed?: [string, string];
renamedParameters?: {
[name: string]: string;
};
};
export declare type EndpointsDefaultsAndDecorations = {
[scope: string]: {
[methodName: string]: [Route, RequestParameters?, EndpointDecorations?];
};
};