import { ReportDataStore } from '../data/reportDataStore.js';
import { UserReportData } from '../types/UserReports.js';
import { ReportStoreConfig } from '../types/ReportStore.js';

declare class ReportStoreService {
    readonly reportDataStore: ReportDataStore;
    reportStore: ReportDataStore;
    constructor(reportDataStore: ReportDataStore);
    getState(userId: string): Promise<ReportStoreConfig>;
    saveState(userId: string, userConfig: ReportStoreConfig): Promise<void>;
    findIndexByExecutionId(executionId: string, array: UserReportData[]): number;
    findIndexByTableId(tableId: string, array: UserReportData[]): number;
    findIndexByReportId(id: string, array: UserReportData[]): number;
    findIndexByReportAndVariantId(id: string, reportId: string, array: UserReportData[]): number;
}

export { ReportStoreService, ReportStoreService as default };
