import { TEth } from 'dequanto/models/TEth'; import type { SourceFile } from './SourceFile'; export type TSourceFileImport = { error?: string; path: string; file: SourceFile; }; export interface ISlotVarDefinition { slot: bigint; position: number; name: string; type: string; size: number; memory?: 'storage' | 'constant' | 'immutable'; value?: string | number | bigint; } /** Slot definitions accepted from callers, including older generated readers. */ export type ISlotVarDefinitionInput = Omit & { slot: number | bigint | TEth.Hex | string; }; export interface ISlotsParserOption { files?: { path: string; content: string; }[]; withConstants?: boolean; withImmutables?: boolean; }