import { ThreadStore } from "./threadStore.js";
/**
 * A sentinel `ThreadStore` placed on the `agencyStore` ALS frame for code
 * that runs **outside** any agent node body — specifically:
 *
 *  - module-level global-init (`__initializeGlobals`)
 *  - top-level callback registration (`__registerTopLevelCallbacks`)
 *  - the resume / rewind bootstrap loops before `setupNode` reconstitutes
 *    the per-node ThreadStore from `stack.threads` JSON
 *
 * After the ALS migration these scopes still need *some* `ThreadStore` on
 * the ALS frame so `getRuntimeContext()` returns a valid object. Pre-fix,
 * we put a plain `ThreadStore.withDefaultActive(...)` there — but any
 * accidental write from those scopes (e.g. someone calling
 * `systemMessage("…")` at module top-level) would silently disappear when
 * the bootstrap frame unwound, because that ThreadStore was discarded.
 *
 * BootstrapThreadStore replaces the silent-loss failure mode with a loud
 * one: every user-facing method throws with an actionable message.
 *
 * It deliberately does NOT override:
 *  - `setStatelogClient` — purely additive metadata; harmless to set
 *  - `toJSON` / `fromJSON` — never reached from bootstrap scope, but if
 *    something does serialize an empty store, the empty result is correct
 */
export declare class BootstrapThreadStore extends ThreadStore {
    private throwBootstrap;
    create(): never;
    createAndReturnThread(): never;
    createSubthread(): never;
    createAndReturnSubthread(): never;
    get(_id: string): never;
    pushActive(_id: string): never;
    popActive(): never;
    activeId(): never;
    active(): never;
    getOrCreateActive(): never;
}
