import type { OAuthLoginCallbacks, OAuthPrompt } from "./types";
export interface OAuthClientCallbacksOptions {
    onPrompt: (prompt: OAuthPrompt) => Promise<string>;
    onOutput?: (message: string) => void;
    openUrl?: (url: string) => void | Promise<void>;
    onOpenUrlError?: (context: {
        url: string;
        error: unknown;
    }) => void;
}
export declare function createOAuthClientCallbacks(options: OAuthClientCallbacksOptions): OAuthLoginCallbacks;
//# sourceMappingURL=client.d.ts.map