import PlatformClient from '@coveo/platform-client'; import { Config, Configuration } from '../config/config'; import 'fetch-undici-polyfill'; export declare class AuthenticatedClient { cfg: Config; constructor(); isLoggedIn(): Promise; isExpired(): Promise; getClient(overrideConfig?: Partial): Promise; getAllOrgsUserHasAccessTo(): Promise; getUserHasAccessToOrg(org: string): Promise; createImpersonateApiKey(name: string, searchHub?: string): Promise; getUsername(): Promise; } export declare enum AuthenticationStatus { LOGGED_IN = 0, EXPIRED = 1, LOGGED_OUT = 2 } export declare function getAuthenticationStatus(): Promise;