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