import type { OAuthAppStrategyOptionsWebFlow, OAuthAppStrategyOptionsDeviceFlow, OAuthAppStrategyOptionsExistingAuthentication, GitHubAppStrategyOptionsWebFlow, GitHubAppStrategyOptionsDeviceFlow, GitHubAppStrategyOptionsExistingAuthentication, GitHubAppStrategyOptionsExistingAuthenticationWithExpiration } from "@octokit/auth-oauth-user"; import type { State, OctokitInstance, ClientType } from "../types.js"; type StateOptions = "clientType" | "clientId" | "clientSecret" | "request"; export type GetUserOctokitOAuthAppOptions = Omit | Omit | Omit; export type GetUserOctokitGitHubAppOptions = Omit | Omit | Omit | Omit; export declare function getUserOctokitWithState(state: State, options: GetUserOctokitOAuthAppOptions | GetUserOctokitGitHubAppOptions): Promise; export interface GetUserOctokitWithStateInterface { (options: TClientType extends "oauth-app" ? GetUserOctokitOAuthAppOptions : GetUserOctokitGitHubAppOptions): Promise; } export {};