import type { AbiType } from './abi.js'; /** * Returns whether the ABI type is an Aztec or Ethereum Address defined in Aztec.nr. * @param abiType - Type to check. * @returns Boolean. */ export declare function isAddressStruct(abiType: AbiType): boolean; /** * Returns whether the ABI type is an Ethereum Address defined in Aztec.nr. * @param abiType - Type to check. * @returns Boolean. */ export declare function isEthAddressStruct(abiType: AbiType): boolean; /** * Returns whether the ABI type is an Aztec Address defined in Aztec.nr. * @param abiType - Type to check. * @returns Boolean. */ export declare function isAztecAddressStruct(abiType: AbiType): boolean; /** * Returns whether the ABI type is an Function Selector defined in Aztec.nr. * @param abiType - Type to check. * @returns Boolean. */ export declare function isFunctionSelectorStruct(abiType: AbiType): boolean; /** * Returns whether the ABI type is a struct with a single `inner` field. * @param abiType - Type to check. */ export declare function isWrappedFieldStruct(abiType: AbiType): boolean; /** * Returns whether the ABI type is a PublicKeys struct from Aztec.nr. * @param abiType - Type to check. * @returns A boolean indicating whether the ABI type is a PublicKeys struct. */ export declare function isPublicKeysStruct(abiType: AbiType): boolean; /** * Returns whether the ABI type is a BoundedVec struct from Noir's std::collections::bounded_vec. * @param abiType - Type to check. * @returns A boolean indicating whether the ABI type is a BoundedVec struct. */ export declare function isBoundedVecStruct(abiType: AbiType): boolean; /** * Returns whether the ABI type is Noir's std::option::Option lowered to a struct. * @param abiType - Type to check. * @returns A boolean indicating whether the ABI type is an Option struct. */ export declare function isOptionStruct(abiType: AbiType): boolean; /** * Returns whether `null` or `undefined` can be mapped to a valid ABI value for this type. * * @param abiType - Type to check. * @returns A boolean indicating whether nullish values are valid shorthand for this ABI type. */ export declare function canBeMappedFromNullOrUndefined(abiType: AbiType): boolean; /** * Returns a bigint by parsing a serialized 2's complement signed int. * @param b - The signed int as a buffer * @returns - a deserialized bigint */ export declare function parseSignedInt(b: Buffer, width?: number): bigint; //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXRpbHMuZC50cyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzI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