/** * Call GraphQL login mutation and return bearer token */ export declare function graphqlLogin(email: string, password: string): Promise; /** * Fetch LiteLLM virtual key for the authenticated user */ export declare function fetchLitellmKey(bearerToken: string): Promise; /** * Fetch available models from LiteLLM /v1/models endpoint */ export declare function fetchAvailableModels(litellmKey: string): Promise; /** * Validate that a LiteLLM key works by calling /v1/models. * Returns true if the key is accepted (HTTP 2xx), false otherwise. */ export declare function validateLitellmKey(litellmKey: string): Promise; /** * Full authentication flow: login → fetch key → validate key * Used with separate email/password inputs from Plugin API prompts */ export declare function authenticateWithCredentials(email: string, password: string): Promise<{ type: "success"; key: string; bearerToken: string; } | { type: "failed"; }>; //# sourceMappingURL=auth.d.ts.map