import { DownloadPermissionConfig } from '../../../../types/Download.js';
import { ReportStoreService } from '../../../../services/reportStoreService.js';
import { ReportDataStore } from '../../../../data/reportDataStore.js';
import { ServiceFeatureConfig } from '../../../../types/DprConfig.js';

declare class DownloadPermissionService extends ReportStoreService {
    enabled: boolean;
    feedbackEnabled: boolean;
    constructor(userDataStore: ReportDataStore, serviceFeatureConfig: ServiceFeatureConfig);
    saveDownloadPermissionData(userId: string, reportId: string, id: string): Promise<void>;
    removeDownloadPermissionData(userId: string, id: string): Promise<void>;
    downloadEnabledForReport(userId: string, reportId: string, id: string): Promise<boolean>;
    getAllDownloadPermissions(userId: string): Promise<DownloadPermissionConfig[]>;
}

export { DownloadPermissionService, DownloadPermissionService as default };
