/**
* Access control list (acl) module. An acl is a list of account addresses who
* have the access permission to a certain object.
* This module uses a `vector` to represent the list, but can be refactored to
* use a "set" instead when it's available in the language in the future.
*
* **Module ID:** `0x1::acl`
*
* @module
*/
import type * as p from "@movingco/prelude";
/** Type name: `0x1::acl::ACL` */
export interface IACL {
list: ReadonlyArray
;
}
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::acl";
/** The name of the module. */
export declare const NAME: "acl";
/** Module ID information. */
export declare const id: {
readonly ADDRESS: "0x1";
readonly FULL_NAME: "0x1::acl";
readonly NAME: "acl";
};
export * as errors from "./errors.js";
/** Module error codes. */
export declare const errorCodes: {
readonly "0": {
readonly name: "ECONTAIN";
readonly doc: "The ACL already contains the address.";
};
readonly "1": {
readonly name: "ENOT_CONTAIN";
readonly doc: "The ACL does not contain the address.";
};
};
/** 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 ACL: "0x1::acl::ACL";
};
/**
* Access control list (acl) module. An acl is a list of account addresses who
* have the access permission to a certain object.
* This module uses a `vector` to represent the list, but can be refactored to
* use a "set" instead when it's available in the language in the future.
*/
export declare const moduleDefinition: {
readonly errorCodes: {
readonly "0": {
readonly name: "ECONTAIN";
readonly doc: "The ACL already contains the address.";
};
readonly "1": {
readonly name: "ENOT_CONTAIN";
readonly doc: "The ACL does not contain the address.";
};
};
readonly functions: {};
readonly resources: {};
readonly structs: {
readonly ACL: "0x1::acl::ACL";
};
readonly ADDRESS: "0x1";
readonly FULL_NAME: "0x1::acl";
readonly NAME: "acl";
};
//# sourceMappingURL=index.d.ts.map