import * as OAuthMethods from "@octokit/oauth-methods"; import type { State } from "../types.js"; export type RefreshTokenOptions = { refreshToken: string; }; export declare function refreshTokenWithState(state: State, options: RefreshTokenOptions): Promise; export interface RefreshTokenInterface { (options: RefreshTokenOptions): Promise; }