import type { CoderClawConfig } from "../config/config.js";
type SessionDepthEntry = {
    sessionId?: unknown;
    spawnDepth?: unknown;
    spawnedBy?: unknown;
};
export declare function getSubagentDepthFromSessionStore(sessionKey: string | undefined | null, opts?: {
    cfg?: CoderClawConfig;
    store?: Record<string, SessionDepthEntry>;
}): number;
export {};
