/** * The `string` module defines the `String` type which represents UTF8 encoded strings. * * **Module ID:** `0x1::string` * * @module */ import type * as p from "@movingco/prelude"; /** * A `String` holds a sequence of bytes which is guaranteed to be in utf8 format. * * Type name: `0x1::string::String` */ export interface IString { bytes: p.ByteString; } 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::string"; /** The name of the module. */ export declare const NAME: "string"; /** Module ID information. */ export declare const id: { readonly ADDRESS: "0x1"; readonly FULL_NAME: "0x1::string"; readonly NAME: "string"; }; export * as errors from "./errors.js"; /** Module error codes. */ export declare const errorCodes: { readonly "1": { readonly name: "EINVALID_UTF8"; readonly doc: "An invalid UTF8 encoding."; }; readonly "2": { readonly name: "EINVALID_INDEX"; readonly doc: "Index out of range."; }; }; /** All module function IDLs. */ export declare const functions: {}; /** All struct types with ability `key`. */ export declare const resources: {}; /** All struct types. */ export declare const structs: { readonly String: "0x1::string::String"; }; /** The `string` module defines the `String` type which represents UTF8 encoded strings. */ export declare const moduleDefinition: { readonly errorCodes: { readonly "1": { readonly name: "EINVALID_UTF8"; readonly doc: "An invalid UTF8 encoding."; }; readonly "2": { readonly name: "EINVALID_INDEX"; readonly doc: "Index out of range."; }; }; readonly functions: {}; readonly resources: {}; readonly structs: { readonly String: "0x1::string::String"; }; readonly ADDRESS: "0x1"; readonly FULL_NAME: "0x1::string"; readonly NAME: "string"; }; //# sourceMappingURL=index.d.ts.map