/** Type name: `0x1::chain_id::ChainId` */ export interface IChainId { id: number; } export { idl } from "./idl.js"; /** The address of the module. */ export declare const ADDRESS: "0x1"; /** The full module name. */ export declare const FULL_NAME: "0x1::chain_id"; /** The name of the module. */ export declare const NAME: "chain_id"; /** Module ID information. */ export declare const id: { readonly ADDRESS: "0x1"; readonly FULL_NAME: "0x1::chain_id"; readonly NAME: "chain_id"; }; /** Module error codes. */ export declare const errorCodes: {}; /** All module function IDLs. */ export declare const functions: {}; /** All struct types with ability `key`. */ export declare const resources: { readonly ChainId: "0x1::chain_id::ChainId"; }; /** All struct types. */ export declare const structs: { readonly ChainId: "0x1::chain_id::ChainId"; }; /** * The chain id distinguishes between different chains (e.g., testnet and the main network). * One important role is to prevent transactions intended for one chain from being executed on another. * This code provides a container for storing a chain id and functions to initialize and get it. */ export declare const moduleDefinition: { readonly errorCodes: {}; readonly functions: {}; readonly resources: { readonly ChainId: "0x1::chain_id::ChainId"; }; readonly structs: { readonly ChainId: "0x1::chain_id::ChainId"; }; readonly ADDRESS: "0x1"; readonly FULL_NAME: "0x1::chain_id"; readonly NAME: "chain_id"; }; //# sourceMappingURL=index.d.ts.map