import { AuthenticationManager } from '@xwiki/platform-authentication-api';
/**
 * Realtime user
 * @since 18.0.0RC1
 * @beta
 */
export type User = {
    name: string;
    color: string;
};
/**
 *
 * @param authentication - an authentication manager components
 * @since 18.0.0RC1
 * @beta
 */
export declare function computeCurrentUser(authentication?: AuthenticationManager): Promise<User>;
