import { RequestUser } from '../common/request-user';
import { OfflineSyncDto } from './dto/offline.dto';
import { OfflineService } from './offline.service';
export declare class OfflineController {
    private readonly offlineService;
    constructor(offlineService: OfflineService);
    bootstrap(user: RequestUser, estateId: string): Promise<{
        serverTime: Date;
        activePasses: ({
            visitor: {
                id: string;
                metadata: import("@prisma/client/runtime/library").JsonValue;
                estateId: string | null;
                name: string;
                phone: string | null;
                createdAt: Date;
                updatedAt: Date;
                photoUrl: string | null;
                vehiclePlate: string | null;
                riskScore: number;
                flagged: boolean;
                blacklisted: boolean;
                riskNotes: string | null;
                riskLevel: import(".prisma/client").$Enums.VisitorRiskLevel;
            };
            hostResident: {
                status: import(".prisma/client").$Enums.AccountStatus;
                id: string;
                metadata: import("@prisma/client/runtime/library").JsonValue;
                estateId: string;
                name: string;
                firstName: string | null;
                lastName: string | null;
                phone: string;
                blockNumber: string | null;
                flatNumber: string | null;
                address: string | null;
                profileConfirmed: boolean;
                profilePictureUrl: string | null;
                emergencyContact: import("@prisma/client/runtime/library").JsonValue;
                unit: string;
                email: string | null;
                createdAt: Date;
                updatedAt: Date;
                profilePictureThumbnailUrl: string | null;
                profileCompletion: number;
                residentCode: string;
                householdMembers: import("@prisma/client/runtime/library").JsonValue;
                userId: string;
            };
        } & {
            status: import(".prisma/client").$Enums.VisitorPassStatus;
            id: string;
            estateId: string;
            createdAt: Date;
            updatedAt: Date;
            passType: import(".prisma/client").$Enums.VisitorPassType;
            validFrom: Date;
            validUntil: Date;
            maxEntries: number;
            entryCount: number;
            visitorId: string;
            hostResidentId: string;
            visitorCode: string;
            qrToken: string;
            revokedAt: Date | null;
        })[];
        residents: {
            id: string;
            name: string;
            phone: string;
            unit: string;
        }[];
        recentLogs: {
            id: string;
            actorType: string;
            actorId: string;
            action: string;
            metadata: import("@prisma/client/runtime/library").JsonValue;
            timestamp: Date;
            estateId: string | null;
        }[];
    }>;
    sync(dto: OfflineSyncDto, user: RequestUser): Promise<{
        accepted: number;
        items: {
            status: import(".prisma/client").$Enums.SyncItemStatus;
            id: string;
            estateId: string;
            deviceId: string;
            createdAt: Date;
            clientEventId: string;
            eventType: string;
            payload: import("@prisma/client/runtime/library").JsonValue;
            conflictReason: string | null;
            appliedAt: Date | null;
        }[];
    }>;
}
