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