export declare const DEFAULT_AGENT_ID = "main"; /** Normalized id segment safe for directory names under `agents//`. */ export declare const STRICT_AGENT_ID_RE: RegExp; /** Path-safe agent id. */ export declare function normalizeAgentId(value: string | undefined | null): string; /** Derive a folder-safe id, including for display names with no ASCII characters. */ export declare function deriveAgentIdFromDisplayName(displayName: string): string; /** Validate a new Agent id before it becomes a filesystem path segment. */ export declare function validateAgentIdForNewAgent(explicitId: string | undefined | null, displayNameForDerivation: string): { ok: true; agentId: string; } | { ok: false; error: string; };