import type { AWSIoTCredentials, AuthState, MyDolphinAuthResult } from './types.js'; /** * Manages authentication credentials lifecycle */ export declare class CredentialManager { private cognitoToken?; private mobToken?; private awsCredentials?; private serialNumber?; private robotName?; private deviceType?; /** * Set Cognito JWT token */ setCognitoToken(token: string): void; /** * Get Cognito JWT token */ getCognitoToken(): string | undefined; /** * Set MyDolphin authentication result */ setMyDolphinAuth(auth: MyDolphinAuthResult): void; /** * Get mob token */ getMobToken(): string | undefined; /** * Set AWS IoT credentials */ setAWSCredentials(credentials: AWSIoTCredentials): void; /** * Get AWS IoT credentials */ getAWSCredentials(): AWSIoTCredentials | undefined; /** * Get serial number */ getSerialNumber(): string | undefined; /** * Get robot name */ getRobotName(): string | undefined; /** * Get device type */ getDeviceType(): number | undefined; /** * Check if AWS credentials are expired or expiring soon */ needsRefresh(): boolean; /** * Check if we have valid AWS credentials (not expired) */ hasValidCredentials(): boolean; /** * Check if fully authenticated */ isAuthenticated(): boolean; /** * Get current authentication state */ getState(): AuthState; /** * Clear all credentials */ clear(): void; /** * Get time until credentials expire */ getTimeUntilExpiration(): number; /** * Get credentials expiration date */ getExpirationDate(): Date | undefined; } //# sourceMappingURL=credentialManager.d.ts.map