import { KomodoClient as createKomodoClient } from "komodo_client"; type KomodoClientInstance = ReturnType; export declare class KomodoClient { private readonly _client; private readonly _url; private constructor(); get client(): KomodoClientInstance; get url(): string; private static normalizeUrl; static ping(url: string): Promise<{ reachable: true; version?: string; } | { reachable: false; error: string; }>; static loginForJwt(baseUrl: string, username: string, password: string): Promise; static login(baseUrl: string, username: string, password: string): Promise; static connectWithApiKey(baseUrl: string, key: string, secret: string): KomodoClient; static connectWithJwt(baseUrl: string, jwt: string): KomodoClient; healthCheck(): Promise<{ healthy: boolean; version?: string; error?: string; }>; } export interface KomodoAuth { readonly method: string; connect(url: string): Promise; } export declare class PasswordAuth implements KomodoAuth { private readonly username; private readonly password; readonly method = "password"; constructor(username: string, password: string); connect(url: string): Promise; } export declare class ApiKeyAuth implements KomodoAuth { private readonly key; private readonly secret; readonly method = "api-key"; constructor(key: string, secret: string); connect(url: string): Promise; } export declare class JwtAuth implements KomodoAuth { private readonly jwt; readonly method = "jwt"; constructor(jwt: string); connect(url: string): Promise; } export declare function resolveAuth(creds: { apiKey?: string | undefined; apiSecret?: string | undefined; username?: string | undefined; password?: string | undefined; jwtToken?: string | undefined; }): KomodoAuth | null; export declare function configureKomodoConnections(opts: { anonymousMode: boolean; }): Promise; export declare function connectUserClient(jwt: string): KomodoClient; export declare function getGlobalClient(): KomodoClient | null; export declare function stopKomodoConnections(): void; export {};