import type { AccountInstance, XyoAddress } from '@xyo-network/sdk-protocol'; import type { AddressPayload, AttachableModuleInstance, ModuleIdentifier, ModuleInstance, ModuleQueryResult } from '../module-model/index.js'; import type { ChildCertification, ChildCertificationFields } from './ChildCertification.js'; import type { NodeModule, NodeModuleEventData } from './Node.js'; import type { NodeParams } from './Params.js'; export interface NodeQueryFunctions { attach: (id: ModuleIdentifier, external?: boolean) => Promise; attachQuery: (id: ModuleIdentifier, external?: boolean, account?: AccountInstance) => Promise>; attached: () => Promise; attachedQuery: (account?: AccountInstance) => Promise>; certify: (id: ModuleIdentifier) => Promise; certifyQuery: (id: ModuleIdentifier, account?: AccountInstance) => Promise>; detach: (id: ModuleIdentifier) => Promise; detachQuery: (id: ModuleIdentifier, account?: AccountInstance) => Promise>; registered: () => Promise; registeredQuery: (account?: AccountInstance) => Promise>; } export interface NodeRegistrationFunctions { register?: (mod: AttachableModuleInstance) => Promise; registeredModules?: () => AttachableModuleInstance[]; unregister?: (mod: ModuleInstance) => Promise; } export interface NodeInstance extends NodeModule, NodeQueryFunctions, NodeRegistrationFunctions, ModuleInstance { } //# sourceMappingURL=instance.d.ts.map