import { FetchConfig } from "./fetch-config";
export interface ProfileData {
    tfa: {
        pending: boolean;
        mode: "auth-and-writes" | "auth-only";
    };
    name: string;
    username: string;
    email: string;
    email_verified: boolean;
    created: string;
    updated: string;
    fullname?: string;
    twitter?: string;
    github?: string;
}
/**
 * Retrieve profile data of logged-in user.
 */
export declare function getProfileData(opts: FetchConfig): Promise<ProfileData>;
