UNPKG

buroventures-harald-code-core

Version:

Harald Code Core - Core functionality for AI-powered coding assistant

21 lines (20 loc) 519 B
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { UserTierId } from './types.js'; import { OAuth2Client } from 'google-auth-library'; export declare class ProjectIdRequiredError extends Error { constructor(); } export interface UserData { projectId: string; userTier: UserTierId; } /** * * @param projectId the user's project id, if any * @returns the user's actual project id */ export declare function setupUser(client: OAuth2Client): Promise<UserData>;