/**
 * [[include:./account/README.md]]
 * @module Account
 * @group Users
 * */
export interface Profile {
    [index: string]: string;
    name?: string;
    first_name?: string;
    last_name?: string;
    birth_day?: string;
}
export interface Account {
    pub?: string;
    color?: string;
    pulse?: number;
    blink?: boolean;
    profile?: Profile;
    petname?: string;
    db?: object;
    lastSeen?: string | number;
}
import { ComputedRef } from "vue";
import { MaybeRef } from "@vueuse/core";
/**
 * Load and handle user's account by a public key
 * @example
 * import { ref } from 'vue'
 * import { useAccount, SEA } from '@gun-vue/composables'
 *
 * const pub = ref()
 *
 * async function generatePair() {
 *  pub.value = await SEA.pair()
 * }
 *
 * const { account } = useAccount(pub)
 *
 * generatePair()
 */
export declare function useAccount(pubKey: MaybeRef<string>): {
    account: ComputedRef<Account>;
    setPetname: typeof setPetname;
};
export declare function setPetname(pub: string, name: string): Promise<void>;
