import { IPeer, IBlock, IThread } from './model'; /** * Get the profile. * ```typescript * Textile.profile.get(); * ``` */ export declare function get(): Promise; /** * Get the name. * ```typescript * Textile.profile.name(); * ``` */ export declare function name(): Promise; /** * Update the name. * ```typescript * Textile.profile.setName(name); * ``` */ export declare function setName(name: string): Promise; /** * Get the BlockId of the current user Avatar. * ```typescript * Textile.profile.avatar(); * ``` */ export declare function avatar(): Promise; /** * Set the user's avatar image * @param item The path to an image or existing hash to set as the avatar * @returns A Promise that will resolve with the Block result */ export declare function setAvatar(item: string): Promise; /** * Get the account thread. */ export declare function accountThread(): Promise;