import { IAnalytics } from '../../entities/analytics.entity'; import { Trace } from '../../entities/trace.model'; export declare const useAnalytics: () => { findFirstOrder: (personId?: string) => Promise; getMoreLoyal: () => Promise; getNewCustomer: () => Promise; getOldestCustomer: () => Promise; getMostSpendersCustomer: () => Promise; getNumberVisitsToPerson: (personId: string) => Promise; getAverageCaToPerson: (personId: string) => Promise; getFavoriteProductToPerson: (personId: string) => Promise; getCa: (beginDate: Date, endDate: Date, filterByDate: string, sortBy: string, userId?: string) => Promise; getCaAverage: (beginDate: Date, endDate: Date, filterByDate: string, sortBy: string) => Promise; getFavoriteProduct: (beginDate?: Date, endDate?: Date) => Promise; getProduct: (productId?: string) => Promise; getProductCategories: () => Promise; };