import {Friend} from './models/Friend'; export interface FriendsAPI { get(friendUid: string, ofUid: string): Promise; set(friend: Friend, ofUid: string): Promise; delete(friendUid: string, ofUid: string): Promise; exists(friendUid: string, ofUid: string): Promise; waitUntilExists(ofUid: string, friendUid: string): Promise; waitUntilDeleted(ofUid: string, friendUid: string): Promise; }