export function searchMessages(query: string): Promise>; export function searchConversations(query: string): Promise>; export function getPrimaryDeviceFor(pubKey: string): Promise;