import * as OAuthMethods from "@octokit/oauth-methods"; import type { ClientType, State } from "../types.js"; export type ResetTokenOptions = { token: string; }; export declare function resetTokenWithState(state: State, options: ResetTokenOptions): Promise<(OAuthMethods.ResetTokenOAuthAppResponse | OAuthMethods.ResetTokenGitHubAppResponse) & { authentication: { type: "token"; tokenType: "oauth"; }; }>; export interface ResetTokenInterface { (options: ResetTokenOptions): TClientType extends "oauth-app" ? Promise : Promise; }