export interface CloudConfig {
    apiKey: string;
    deviceId: string;
    email: string;
    lastSync: string;
    syncEnabled: boolean;
    cloudUrl: string;
    teamId?: string;
}
export interface CloudStatus {
    connected: boolean;
    email: string;
    deviceId: string;
    lastSync: string;
    pendingUpload: number;
    pendingDownload: number;
    serverHealthy: boolean;
}
export interface IntelligenceBundle {
    version: number;
    deviceId: string;
    compressedAt: string;
    profile: Record<string, unknown>;
    vibe: Record<string, number>;
    memorySummary: Array<{
        type: string;
        topic: string;
        summary: string;
        importance: number;
    }>;
    projectSummary: {
        name: string;
        status: string;
        fileCount: number;
        recentDecisions: string[];
    };
    anonymousSignals: Array<{
        category: string;
        signal: string;
        confidence: number;
    }>;
}
export interface CommunityPack {
    id: string;
    title: string;
    category: string;
    description: string;
    authorScore: number;
    trustScore: number;
    downloadCount: number;
    signals: Record<string, number>;
    rules: Array<{
        text: string;
        confidence: number;
    }>;
    version: number;
}
export declare function loadConfig(): CloudConfig | null;
export declare function saveConfig(config: CloudConfig): void;
export declare function deleteConfig(): void;
export declare function getDeviceId(): string;
export declare function cloudLogin(email: string, password: string, cloudUrl?: string): Promise<CloudConfig>;
export declare function cloudVerify(config: CloudConfig): Promise<boolean>;
export declare function buildIntelligenceBundle(config: CloudConfig): {
    bundle: IntelligenceBundle;
    warnings: string[];
};
export declare function compressBundle(bundle: IntelligenceBundle): {
    compressed: string;
    checksum: string;
};
export declare function cloudPush(config: CloudConfig): Promise<{
    pushed: boolean;
    warnings: string[];
}>;
export declare function cloudPull(config: CloudConfig): Promise<{
    packs: CommunityPack[];
    count: number;
}>;
export declare function cloudStatus(config: CloudConfig): Promise<CloudStatus>;
export declare function getLocalPacks(): CommunityPack[];
export declare function getPackById(id: string): CommunityPack | null;
export declare function cloudHealthCheck(config: CloudConfig): Promise<boolean>;
//# sourceMappingURL=cloud-connector.d.ts.map