/**
 * RootContext - Propagated through component tree via _receiveContext
 *
 * Provides root (DNS-hierarchical addressing root) information to all
 * components in the tree. Created by <matrix-dsl> element, cascades to
 * all children.
 *
 * Renamed from RealmContext: "realm" was a flat single-token namespace;
 * "root" is a DNS-derived hierarchical root (e.g., 'com.nimbletec.richard.santomauro').
 */
/**
 * Federation mode determines how the root connects to transports.
 */
export type FederationMode = 'auto' | 'local' | 'public' | 'disabled';
/**
 * Context object propagated through component tree.
 */
export interface RootContext {
    /**
     * Full root name including tab suffix (e.g., "flowpad.tab-a1b2c3d4")
     */
    root: string;
    /**
     * Base root without tab suffix (e.g., "flowpad")
     * Used for display and cross-tab coordination.
     */
    baseRoot: string;
    /**
     * Federation mode from <matrix-dsl federation="...">
     */
    federation: FederationMode;
    /**
     * Accumulated mount prefix from ancestor chain.
     * Updated by j08g-01-mount-derivation.
     */
    mountPrefix: string;
}
/** @deprecated Use RootContext instead. */
export type RealmContext = RootContext;
/**
 * Create a RootContext with defaults.
 */
export declare function createRootContext(baseRoot: string, federation?: FederationMode, tabRoot?: string): RootContext;
/** @deprecated Use createRootContext instead. */
export declare const createRealmContext: typeof createRootContext;
/**
 * Derive child context with updated mount prefix.
 */
export declare function deriveRootContext(parent: RootContext, childMount?: string): RootContext;
/** @deprecated Use deriveRootContext instead. */
export declare const deriveRealmContext: typeof deriveRootContext;
//# sourceMappingURL=RealmContext.d.ts.map