export type Ptr = usize ; export type SizeT = u32 ; export enum ReturnCode { Success = 0 , CalleeTrapped = 1 , CalleeReverted = 2 , KeyNotFound = 3 , BelowSubsistenceThreshold = 4 , TransferFailed = 5 , NewContractNotFunded = 6 , CodeNotFound = 7 , NotCallable = 8 } export declare function seal_set_storage ( keyPtr , valuePtr , valueSize ) ; export declare function seal_clear_storage ( keyPtr ) ; export declare function seal_get_storage ( keyPtr , outPtr , outSizePtr ) ; export declare function seal_transfer ( accountPtr , accountSize , valuePtr , valueSize ) ; export declare function seal_call ( calleePtr , calleeSize , gas , valuePtr , valueSize , inputDataPtr , inputDataSize , outputPtr , outputLenPtr ) ; export declare function seal_instantiate ( codeHashPtr , codeHashSize , gas , valuePtr , valueSize , inputDataPtr , inputDataSize , addressPtr , addressLenPtr , outputPtr , outputLenPtr ) ; export declare function seal_terminate ( beneficiaryPtr , beneficiarySize ) ; export declare function seal_input ( bufPtr , bufLenPtr ) ; export declare function seal_return ( flags , dataPtr , dataSize ) ; export declare function seal_caller ( outPtr , outLenPtr ) ; export declare function seal_address ( outPtr , outLenPtr ) ; export declare function seal_weight_to_fee ( gas , outPtr , outLenPtr ) ; export declare function seal_gas_left ( outPtr , outLenPtr ) ; export declare function seal_balance ( outPtr , outLenPtr ) ; export declare function seal_value_transferred ( outPtr , outLenPtr ) ; export declare function seal_random ( subjectPtr , subjectSize , outPtr , outLenPtr ) ; export declare function seal_now ( outPtr , outLenPtr ) ; export declare function seal_minimum_balance ( outPtr , outLenPtr ) ; export declare function seal_tombstone_deposit ( outPtr , outLenPtr ) ; export declare function seal_restore_to ( destPtr , destSize , codeHashPtr , codeHashSize , rentAllowancePtr , rentAllowanceSize , deltaPtr , deltaCount ) ; export declare function seal_deposit_event ( topicsPtr , topicsLen , dataPtr , dataLen ) ; export declare function seal_set_rent_allowance ( valuePtr , valueLen ) ; export declare function seal_rent_allowance ( outPtr , outLenPtr ) ; export declare function seal_println ( strPtr , strLen ) ; export declare function seal_block_number ( outPtr , outLenPtr ) ; export declare function seal_hash_sha2_256 ( inputPtr , inputSize , outputPtr ) ; export declare function seal_hash_keccak_256 ( inputPtr , inputSize , outputPtr ) ; export declare function seal_hash_blake2_256 ( inputPtr , inputSize , outputPtr ) ; export declare function seal_hash_blake2_128 ( inputPtr , inputSize , outputPtr ) ; export declare function seal_call_chain_extension ( func_id , input_ptr , input_len , output_ptr , output_len_ptr ) ;