import type NodePersist from 'node-persist';
import type { AuthenticateFlowState } from '../../roborockCommunication/models/index.js';
/** Repository for persisting and retrieving authentication flow state. */
export declare class AuthenticationStateRepository {
    private readonly persist;
    constructor(persist: NodePersist.LocalStorage);
    /** Get current authentication flow state. */
    getAuthState(): Promise<AuthenticateFlowState | undefined>;
    /** Save authentication flow state. */
    saveAuthState(state: AuthenticateFlowState): Promise<void>;
    /** Clear authentication flow state. */
    clearAuthState(): Promise<void>;
}
//# sourceMappingURL=AuthenticationStateRepository.d.ts.map