import type { TwinResource } from './serve.js'; export type ForkMeta = { service: string; forkedAt: string; baseRoot: string; baseView: string; baseEventCount: number; baseLatestEventId: string | null; baseline: TwinResource[]; }; /** * Create a fork of `service` from `fromRoot` into the fresh isolated `toRoot`. * References the base log at a position, then records the divergence baseline. `occurredAt` is supplied by the caller (deterministic; no clock). */ export declare function forkTwin(opts: { service: string; toRoot: string; fromRoot?: string; occurredAt: string; /** the position in the base's whole log to branch from (contract "Just like Neon", 3); the head when absent */ at?: number; view?: string; expectedGeneration?: string; }): ForkMeta;