import { type OAuthDeviceCodeInfo, type OAuthSelectPrompt } from "./models.js"; export interface OAuthLoginJobPublic { inputSecret?: boolean; inputRequested?: boolean; allowEmpty?: boolean; inputPlaceholder?: string; id: string; status: "starting" | "awaiting_input" | "awaiting_device" | "completed" | "failed" | "cancelled"; providerId: string; authUrl?: string; userCode?: string; deviceCode?: OAuthDeviceCodeInfo; selectPrompt?: OAuthSelectPrompt; prompt: string; error?: string; profileId?: string; createdAt: number; updatedAt: number; } export interface StartOAuthConnectionRequest { providerId: string; profileId?: string; name?: string; requestProfile?: "standard"; } export declare function startNativeOAuthConnection(input: StartOAuthConnectionRequest): Promise; export declare function getOAuthLoginJob(id: string): OAuthLoginJobPublic | null; export declare function cancelOAuthLoginJob(id: string): OAuthLoginJobPublic | null; export declare function validateOAuthSubmitInput(job: { authUrl?: string; }, raw: string): void; export declare function submitOAuthLoginJobInput(id: string, input: { code?: string; }): Promise; //# sourceMappingURL=oauth.d.ts.map