import { Carrier, type Clock, type Custody, type Entropy, type Loader, type Memory } from '../contract/index.ts'; import { Harbor, Terrain, type Defaults, type Sockets, type WebServe } from '../harbor/index.ts'; export declare class NoCarrier extends Carrier { carry(): Promise; } export declare class PointerCarrier extends Carrier { #private; constructor(world: World); carry(pk: string, bytes: Uint8Array): Promise; } export type PointerParts = { entropy?: Entropy; clock?: Clock; custody?: Custody; memory?: Memory; carrier?: Carrier; loader?: Loader; tcp?: () => Sockets; web?: WebServe; defaults: Defaults; wakes?: boolean; }; export declare class PointerTerrain extends Terrain { readonly entropy: Entropy; readonly clock: Clock; readonly custody: Custody; readonly memory: Memory; readonly carrier: Carrier; readonly loader: Loader; readonly defaults: Defaults; readonly tcp: (() => Sockets) | undefined; readonly web: WebServe | undefined; readonly wakes: boolean; constructor(parts: PointerParts); } export type WorldParts = Partial>; export declare class World { #private; readonly cut: Set; constructor(defaults: Defaults); harbor(name: string, parts?: WorldParts): Promise; get(name: string): Harbor; restart(name: string, parts?: WorldParts): Promise; carry(pk: string, bytes: Uint8Array): Promise; }