import { Self } from '@wireapp/api-client/lib/self/'; import { CONVERSATION_PROTOCOL } from '@wireapp/api-client/lib/team'; import { APIClient } from '@wireapp/api-client'; export declare class SelfService { private readonly apiClient; private readonly logger; constructor(apiClient: APIClient); checkUsername(username: string): Promise; checkUsernames(usernames: string[]): Promise; getName(): Promise; getSelf(): Promise; getUsername(): Promise; setName(name: string): Promise; setUsername(username: string): Promise; /** * Update self user's list of supported-protocols * @param supportedProtocols The list of supported protocols */ putSupportedProtocols(supportedProtocols: CONVERSATION_PROTOCOL[]): Promise; } //# sourceMappingURL=SelfService.d.ts.map