import { Custody, Memory, type Bundled, type Entropy } from '../contract/index.ts'; import type { Defaults, GroundProbe } from '../harbor/index.ts'; import { PointerTerrain } from '../pointer/index.ts'; export { rootOf, serveWorker, type Reaching } from './worker.ts'; export declare const BROWSER = "browser"; export declare const BROWSER_HARBOR = "nervur"; export declare class IdbMemory extends Memory { #private; constructor(name?: string); get name(): string; read(place: string): Promise>; write(place: string, entries: ReadonlyMap): Promise; protected put(store: IDBObjectStore, key: [string, string], bytes: ArrayBuffer | null): void; places(): Promise; forget(place: string): Promise; close(): Promise; } export declare class IdbCustody extends Custody { #private; constructor(name?: string, entropy?: Entropy); seed(): Promise; close(): Promise; } export type BrowserParts = { readonly where?: string; readonly bundle?: readonly Bundled[]; readonly defaults: Defaults; }; export declare class BrowserTerrain extends PointerTerrain { #private; readonly where: string; constructor(parts: BrowserParts); get foreground(): boolean; claim(): Promise; release(): Promise; } export declare const browserGround: GroundProbe;