import type { BapMasterBackup, ProfileInfo } from "../../../lib/types.js";
interface ProfileSyncOptions {
    autoSync?: boolean;
    maxDiscoveryAttempts?: number;
    sigmaApiUrl?: string;
}
export interface ProfileSyncResult {
    discoveredProfiles: ProfileInfo[];
    updatedBackup: BapMasterBackup | null;
    totalFound: number;
}
export interface SigmaIdentityResponse {
    idKey: string;
    address: string;
    isPublished: boolean;
    name?: string;
    displayName?: string;
    avatar?: string;
    description?: string;
    website?: string;
    email?: string;
    createdAt?: string;
    updatedAt?: string;
    verified?: boolean;
    publicKey?: string;
    socialLinks?: {
        twitter?: string;
        github?: string;
        linkedin?: string;
    };
}
export interface IdentityData extends SigmaIdentityResponse {
}
export declare function useBapProfileSync(options?: ProfileSyncOptions): {
    syncProfiles: () => void;
    resetSync: () => void;
    isScanning: boolean;
    progress: number;
    currentId: number;
    foundCount: number;
    error: Error | null;
    result: ProfileSyncResult | undefined;
    isSuccess: boolean;
    fetchProfile: (idKey: string) => Promise<{
        result: SigmaIdentityResponse | null;
    }>;
    validateByAddress: (address: string) => Promise<SigmaIdentityResponse | null>;
};
export {};
//# sourceMappingURL=useBapProfileSync.d.ts.map