import { IBlockchainExplorer } from '../explorer/IBlockchainExplorer'; import { Web3Client } from '../clients/Web3Client'; import { TAddress } from '../models/TAddress'; import { TPlatform } from '../models/TPlatform'; import { $logger } from '../utils/$logger'; import { ISlotsParserOption } from './SlotsParser/models'; import { SourceCodeProvider } from './SourceCodeProvider'; import { TEth } from '../models/TEth'; export declare class SlotsDump { private params; private address; private implementation?; private contractName; private client; private explorer; private sourceCodeProvider; private logger; private keysLoader; constructor(params: { address: TAddress; /** Optionally, the implementation contract to load sources from. Otherwise it will detect automatically if the "address" is the proxy contract */ implementation?: TAddress; contractName?: string; platform?: TPlatform; client?: Web3Client; explorer?: IBlockchainExplorer; sourceCodeProvider?: SourceCodeProvider; logger?: typeof $logger; fields?: string[]; sources?: { files?: { [file: string]: { content: string; }; }; }; parser?: ISlotsParserOption; }); getStorage(): Promise<{ json: any; memory: [string, string][]; }>; restoreStorageFromJSON(json: Record): Promise; restoreStorageFromTable(csv: [string, TEth.Hex][]): Promise; private getSlotsValues; private getSlotsDefinition; }