export type LoginResult = { status: "logged_in"; } | { status: "already_logged_in"; }; /** * Validates the key against the API before storing it, so a typo'd key * fails at login time instead of producing mysterious failures later. The * key is trimmed (pasted keys routinely pick up whitespace) and existing * credentials are only overwritten when `force` is set. */ export declare function performLogin(apiKey: string, options: { force?: boolean; baseUrl: string; }): Promise; export declare function performLogout(): void;