UNPKG

@gguf/claw

Version:

Multi-channel AI gateway with extensible messaging integrations

22 lines (21 loc) 629 B
import type { RuntimeEnv } from "../runtime.js"; import type { WizardPrompter } from "../wizard/prompts.js"; type OAuthPrompt = { message: string; placeholder?: string; }; export declare function createVpsAwareOAuthHandlers(params: { isRemote: boolean; prompter: WizardPrompter; runtime: RuntimeEnv; spin: ReturnType<WizardPrompter["progress"]>; openUrl: (url: string) => Promise<unknown>; localBrowserMessage: string; manualPromptMessage?: string; }): { onAuth: (event: { url: string; }) => Promise<void>; onPrompt: (prompt: OAuthPrompt) => Promise<string>; }; export {};