/**
 * Agent trust scorer — hierarchical trust decay for sub-agents.
 *
 * Agents encode their lineage in the identifier using '>' separators:
 *   "user-spawned"                    → base trust 0.9
 *   "user-spawned>task-1"             → 0.9 × 0.7 = 0.63
 *   "user-spawned>task-1>subtask-2"   → 0.9 × 0.7² = 0.44
 *   "cron"                            → base trust 0.5
 *   "agent-spawned"                   → base trust 0.3
 */
export interface AgentTrustConfig {
    /** Base trust scores by spawn origin (first segment of identifier) */
    originScores: Record<string, number>;
    /** Multiplier applied per hierarchy depth level */
    decayFactor: number;
    /** Maximum allowed depth — agents beyond this get score 0 */
    maxDepth: number;
}
export declare const DEFAULT_AGENT_CONFIG: AgentTrustConfig;
/**
 * Score an agent based on its hierarchy identifier.
 * Returns a trust score between 0.0 and 1.0.
 */
export declare function scoreAgent(identifier: string, config?: AgentTrustConfig): number;
/**
 * Get the depth of an agent in its hierarchy (0 = parent).
 */
export declare function getAgentDepth(identifier: string): number;
/**
 * Build a human-readable hierarchy showing trust at each level.
 */
export declare function buildAgentHierarchy(identifier: string, config?: AgentTrustConfig): string[];
