buroventures-harald-code
Version:
Harald Code - AI-powered coding assistant CLI
15 lines (14 loc) • 587 B
TypeScript
/**
* @license
* Copyright 2025 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
import { LoadedSettings, SettingScope } from '../../config/settings.js';
import { AuthType, Config } from 'buroventures-harald-code-core';
export declare const useAuthCommand: (settings: LoadedSettings, setAuthError: (error: string | null) => void, config: Config) => {
isAuthDialogOpen: boolean;
openAuthDialog: () => void;
handleAuthSelect: (authType: AuthType | undefined, scope: SettingScope) => Promise<void>;
isAuthenticating: boolean;
cancelAuthentication: () => void;
};