import { OpenRPCSchema, OpenRPCSpec } from '../../types'; import { LanguageTypeMapper } from '../interfaces'; /** * Rust-specific type mapping implementation */ export declare class RustTypeMapper implements LanguageTypeMapper { /** * Base Solidity to Rust type mappings */ private static readonly BASE_TYPE_MAPPINGS; mapSolidityType(solidityType: string): string | null; getRequiredImports(openrpc: OpenRPCSpec): string[]; generateTypes(openrpc: OpenRPCSpec): string; /** * Map OpenRPC schema to Rust type for function signatures */ mapToRustType(schema: OpenRPCSchema): string | null; /** * Get mapping for unsigned integer types */ private getUintMapping; /** * Get mapping for signed integer types */ private getIntMapping; /** * Get mapping for array types (both dynamic and fixed-size) */ private getArrayMapping; /** * Collect alloy primitive imports from schema */ private collectAlloyImports; /** * Extract struct definitions from OpenRPC components */ private extractStructsFromOpenRPC; /** * Generate Rust struct from OpenRPC schema */ private generateRustStructFromOpenRPC; /** * Convert OpenRPC schema to Rust type */ private openRpcSchemaToRustType; /** * Sanitize field name for Rust */ private sanitizeFieldName; } //# sourceMappingURL=rust-type-mapper.d.ts.map