import type { JsonObject } from '../being/index.ts'; import type { Defaults, GroundProbe, Harbor, RootRequest } from '../harbor/index.ts'; import { PointerTerrain } from '../pointer/index.ts'; export declare const NODE = "node"; export declare const harborDir: (env?: Record) => string; export declare const socketOf: (dir: string) => string; export declare const askServed: (dir: string, request: RootRequest) => Promise; export type NodeParts = { readonly dir: string; readonly defaults: Defaults; readonly wakes?: boolean; readonly serves?: boolean; }; export declare class NodeTerrain extends PointerTerrain { #private; readonly dir: string; readonly serves: boolean; constructor(parts: NodeParts); claim(): Promise; stand(harbor: Harbor): Promise; release(): Promise; } export declare const nodeGround: GroundProbe;