import type { SessionSource } from '../types.js'; export declare const SOURCES_LIST: readonly ["claude", "codex", "gemini", "copilot", "cursor-agent", "commandcode", "goose", "opencode", "kiro", "zed", "factory"]; export declare const SOURCE_ALIASES_LIST: string[]; export declare function resolveSource(s?: string): SessionSource | undefined; /** * Validate one of a fixed set of role names (er/08). Throws a properly- * coded INVALID_ROLE error (not INVALID_RANGE) when an unknown role is * supplied, e.g. `--role badrolename`. Centralising the check here lets * non-read callers (context, search, ...) reuse the same error code. */ export declare const VALID_ROLES: readonly ["user", "assistant", "system", "tool_use", "tool_result"]; export declare function validateRoles(raw: string): string[]; export declare function parseBounded(name: string, raw: string | number | undefined, def: number, min: number, max?: number): number; //# sourceMappingURL=validate.d.ts.map