UNPKG

@di-zed/yandex-smart-home

Version:

The Yandex Smart Home skills for the different device types.

37 lines (36 loc) 795 B
/** * @author DiZed Team * @copyright Copyright (c) DiZed Team (https://github.com/di-zed/) */ import Registry from './registry'; /** * Topic Anonymous User Registry. */ declare class TopicAnonUserRegistry extends Registry { /** * @inheritDoc */ protected data: UserRequestedAt; /** * Mark User as Anonymous. * * @param userName * @returns boolean */ markUserAsAnonymous(userName: string): boolean; /** * Check if the user is anonymous. * * @param userName * @returns boolean */ isUserAnonymous(userName: string): boolean; } /** * Data "Username => Requested At" Type. */ export type UserRequestedAt = { [key: string]: Date; }; declare const _default: TopicAnonUserRegistry; export default _default;