import type { Lock } from '../crypto/index.ts'; import { type HeirRecord, type Invitation, type KeptLock, type Relations, type StandingState } from '../quo/index.ts'; import type { Rows } from '../contract/index.ts'; import type { JsonObject } from '../being/index.ts'; export declare const HEAD_ROW = ""; export type Head = { lock?: KeptLock; heirs: Record; gone: string[]; bind: Record; public: string | null; }; export type StandingRow = { invitation: Invitation; state: StandingState; seen: string | null; }; export type BeingRow = { class: string; registry?: string; cells: JsonObject; occupants: Record; standings: Record; }; export declare class Partition { readonly memory: Rows; constructor(memory: Rows); get head(): Head; get beings(): Record; being(key: string): BeingRow | undefined; told(key: string): void; toldHead(): void; kept(): Promise; } export declare class PartitionRelations implements Relations { #private; constructor(partition: Partition); lock(): Lock | undefined; setLock(lock: Lock): void; get(heir: string): HeirRecord | undefined; set(heir: string, record: HeirRecord): void; delete(heir: string): void; kept(): Promise; }