/** * Internal validation primitives shared between `validateRunOptions` and * `validateProfileData`. The constants and the profile-specific validator * are kept here so `run-options.ts` remains focused on the public * interface plus the primary `validateRunOptions` entry point. * * Pure structural extraction — no behavior change. */ import type { ErrorCode } from './types.js'; /** Valid ErrorCode values for retryOn validation. */ export declare const VALID_ERROR_CODES: Set; /** Profile name pattern: 1-64 alphanumeric, underscore, or hyphen characters. */ export declare const PROFILE_NAME_RE: RegExp; /** MCP server name pattern. */ export declare const MCP_NAME_RE: RegExp; /** ULID pattern: 26 Crockford base32 characters. */ export declare const ULID_RE: RegExp; export declare const PROHIBITED_PROFILE_FIELDS: ReadonlySet; /** * Validate profile data, ensuring no prohibited fields are present * and all included fields pass RunOptions-level validation. */ export declare function validateProfileData(data: Record): void;