import type { AccountInstance, AttachableModuleInstance, AttachableWitnessInstance, PayloadSetPluginResolver, SentinelConfig } from '@xyo-network/sdk'; import { MemoryNode } from '@xyo-network/sdk'; /** Config for creating or wrapping a {@link MemoryNode} via the builder. */ export interface MemoryNodeBuilderConfig { name?: string; node?: MemoryNode; } /** Fluent builder for attaching archivists, bridges, sentinels, and witnesses to a memory node. */ export declare class MemoryNodeBuilder { private _node; get node(): MemoryNode; static create({ name, node }: MemoryNodeBuilderConfig, account?: AccountInstance): Promise; /** @deprecated - call specific method that corresponds to a type of archivist (i.e. addArchivistStorage) */ addArchivist(account: AccountInstance, moduleName?: string, namespace?: string): Promise; addArchivistMemory(moduleName?: string, account?: AccountInstance): Promise; addArchivistStorage(account: AccountInstance, moduleName?: string, namespace?: string): Promise; addBridge(apiDomain: string, moduleName?: string, account?: AccountInstance): Promise; addSentinel(config: SentinelConfig, account: AccountInstance): Promise>, import("@xyo-network/sdk").SentinelModuleEventData>, import("@xyo-network/sdk").SentinelModuleEventData>, import("@xyo-network/sdk").ModuleEventData>>>>>>; addWitnesses(pluginSetResolver: PayloadSetPluginResolver, witnesses?: (() => Promise)[]): Promise; attach(mod: AttachableModuleInstance, external?: boolean, safeAttach?: boolean): Promise; private witnessCleanup; } //# sourceMappingURL=MemoryNodeBuilder.d.ts.map