import "dotenv/config";
import { SUPPORTED_NETWORKS } from "helpers/deploy/constants";
import { MissingRoleMap, Permission, Role } from "./types";
export declare class PermissionFetcher {
    readonly network: SUPPORTED_NETWORKS;
    readonly bnbPermissionFile: string;
    readonly chunkSize: number;
    mdFilePath: string;
    jsonFilePath: string;
    permissionsMap: Record<string, Permission>;
    missingRoleMap: MissingRoleMap;
    roleHashTable: Record<string, Role>;
    existingPermissions: Permission[];
    missingRoleFile: string;
    blocksParsed: number;
    constructor(network: SUPPORTED_NETWORKS, bnbPermissionFile: string, chunkSize: number);
    getPastEvents(startBlock: number, endBlock: number): Promise<void>;
    private processEvents;
    private updateMDPermissionFile;
    private addPrevPermissionsInMap;
    private storeInJson;
    private decodeLogs;
    private getRoleHashTable;
    private fetchEvents;
    private getPermissionsJson;
    private addMissingRole;
    private getHash;
}
//# sourceMappingURL=PermissionFetcher.d.ts.map