export interface BootRootOpts { cwd: string; kind?: string; name?: string; /** Optional starter prompt (bare `crtr` requires none). */ prompt?: string; /** Explicit `--profile ` on the front-door invocation, validated * through `loadProfileManifest`. Omit to run the MRU/create-or-root-profile * startup selector for `cwd` (see `selectProfileForCwd`) — a root has no * spawner to inherit from, so this is the front door's only source of profile * identity. */ profile?: string | null; /** `crtr --pick-profile`: force the startup profile chooser to open even when * a per-cwd default is pinned, so the user can re-pin or unpin it. Without * this a pinned default auto-picks silently (that is what "default" means). */ pickProfile?: boolean; } /** Boot the front-door root: create the resident root through crtrd (broker * launched + view socket ready server-side), register THIS terminal's pane as * its one viewer, then exec `crtr surface attach` inline so this terminal * becomes the broker's controller-viewer. Does not return — it process.exit()s * when the inline attach exits (detach leaves the resident broker running, to * be reconnected later). */ export declare function bootRoot(opts: BootRootOpts): Promise;