import { ContractDefinition, Identifier, VariableDeclaration } from "solidity-ast"; import { TransformerTools } from "../../transform"; import { ASTResolver } from "../../ast-resolver"; import { NodeType, NodeTypeMap } from "solidity-ast/node"; export interface IdentifierVariable { identifier: Identifier; varDecl: VariableDeclaration; } export declare function getUniqueIdentifierVarsUsed(contractNode: ContractDefinition, tools: TransformerTools): Map; export declare function addVariableScopedContract(referenceScopes: Map>, varDecl: VariableDeclaration, resolver: ASTResolver): void; /** * Get a set/map of unique types that are being referenced in the contract * @param contractNode * @param tools */ export declare function getScopedContractsForVariables(contract: ContractDefinition, tools: TransformerTools): Map>; export declare function getScopedContractName(scope: number, contractPaths: Map>, contractScopes: Map, tools: TransformerTools, suffix?: string): string; export declare function getNodeCount(nodeTypes: T | T[], contract: ContractDefinition, filter?: (node: NodeTypeMap[T]) => any): number; //# sourceMappingURL=get-identifiers-used.d.ts.map