/** * The IDL of the module. * * @module */ /** The IDL of the module. */ export declare const idl: { readonly module_id: "0x1::option"; readonly doc: "This module defines the Option type and its methods to represent and handle an optional value."; readonly functions: readonly []; readonly structs: readonly [{ readonly name: "0x1::option::Option"; readonly doc: "Abstraction of a value that may or may not be present. Implemented with a vector of size\nzero or one because Move bytecode does not have ADTs."; readonly fields: readonly [{ readonly name: "vec"; readonly ty: { readonly vector: { readonly type_param: 0; }; }; }]; readonly type_params: readonly [{ readonly name: "Element"; }]; readonly abilities: readonly ["copy", "drop", "store"]; }]; readonly errors: { readonly "262144": { readonly name: "EOPTION_IS_SET"; readonly doc: "The `Option` is in an invalid state for the operation attempted.\nThe `Option` is `Some` while it should be `None`."; }; readonly "262145": { readonly name: "EOPTION_NOT_SET"; readonly doc: "The `Option` is in an invalid state for the operation attempted.\nThe `Option` is `None` while it should be `Some`."; }; }; }; //# sourceMappingURL=idl.d.ts.map