import * as OAuthMethods from "@octokit/oauth-methods"; import type { ClientType, State } from "../types.js"; type StateOptions = "clientType" | "clientId" | "clientSecret" | "request"; export type GetWebFlowAuthorizationUrlOAuthAppOptions = Omit; export type GetWebFlowAuthorizationUrlGitHubAppOptions = Omit; export declare function getWebFlowAuthorizationUrlWithState(state: State, options: any): any; export interface GetWebFlowAuthorizationUrlInterface { (options: TClientType extends "oauth-app" ? GetWebFlowAuthorizationUrlOAuthAppOptions : GetWebFlowAuthorizationUrlGitHubAppOptions): TClientType extends "oauth-app" ? OAuthMethods.GetWebFlowAuthorizationUrlOAuthAppResult : OAuthMethods.GetWebFlowAuthorizationUrlGitHubAppResult; } export {};