import type { Client as ObjectsClient } from '@iobroker/db-objects-redis';
interface CalculatedProject {
    id: string;
    val: number;
}
interface CalculateProjectsOptions {
    /** The objects db instance */
    objects: ObjectsClient;
    /** Vis instance */
    instance: number;
    /** Vis adapter name */
    visAdapter: 'vis' | 'vis-2';
}
/**
 * Calculate the number of data points for all vis projects of given instance
 *
 * @param options - db and vis options
 */
export declare function calcProjects(options: CalculateProjectsOptions): Promise<CalculatedProject[]>;
export {};
//# sourceMappingURL=states.d.ts.map