export interface PropertyScore {
    finalScore: number;
    featuredBoost: number;
    engagementZScore: number;
    recencyScore: number;
    agentBoost: number;
    qualityScore: number;
}
interface PropertyWithRelations {
    id: string;
    featured: boolean;
    featuredUntil: Date | null;
    publishedAt: Date | null;
    viewCount: number;
    clickCount: number;
    favoriteCount: number;
    messageCount: number;
    verified: boolean;
    description: string | null;
    price: number | any | null;
    bedrooms: number | null;
    bathrooms: number | null;
    areaSqft: number | null;
    address: string | null;
    city?: string | null;
    subCity?: string | null;
    propertyType?: string | null;
    listingType?: string | null;
    photos?: Array<{
        id: string;
    }>;
    amenities?: Array<{
        id: string;
    }>;
    owner?: {
        id: string;
        role: string;
        verified: boolean;
        agentProfile?: {
            verificationStatus: string;
        } | null;
    };
    boostRequests?: Array<{
        id: string;
        status: string;
        plan: {
            days: number;
        };
        createdAt: Date;
    }>;
}
interface EngagementStats {
    viewCount: {
        mean: number;
        stdDev: number;
    };
    clickCount: {
        mean: number;
        stdDev: number;
    };
    favoriteCount: {
        mean: number;
        stdDev: number;
    };
    messageCount: {
        mean: number;
        stdDev: number;
    };
}
/**
 * Calculate property score using Z-score normalization for engagement
 * This is much more efficient than the previous O(n²) approach
 */
export declare function calculatePropertyScoreZScore(property: PropertyWithRelations, engagementStats: EngagementStats, now?: Date, cachedSubscription?: any): Promise<PropertyScore>;
/**
 * Batch calculate scores for multiple properties using Z-score normalization
 * This is O(n) instead of O(n²) - much more CPU efficient
 */
export declare function calculatePropertyScoresBatchZScore(properties: PropertyWithRelations[], now?: Date): Promise<Map<string, PropertyScore>>;
export {};
//# sourceMappingURL=propertyScoringZScore.d.ts.map