/** DNS label naming convention */ export declare const ITEM_NAME_RE: RegExp; export declare const ITEM_NAME_MAX_LENGTH = 63; export declare const DEFINITION_NAME_MAX_LENGTH = 100; export declare const DESCRIPTION_MAX_LENGTH = 500; export declare const VALID_ITEM_TYPES: readonly ["SERVICE", "WORKER", "DATABASE", "BROKER", "MOCK", "HTTP_REQUEST", "DB_QUERY"]; export type ItemType = (typeof VALID_ITEM_TYPES)[number]; export declare const VALID_DATABASES: readonly ["postgres", "mysql", "mongodb", "redis"]; export declare const VALID_BROKERS: readonly ["amqp", "kafka"]; export declare const VALID_HTTP_METHODS: readonly ["GET", "POST", "PUT", "DELETE", "PATCH", "HEAD", "OPTIONS"]; /** HTTP methods valid for MOCK items (includes wildcard) */ export declare const VALID_MOCK_METHODS: readonly ["GET", "POST", "PUT", "DELETE", "PATCH", "HEAD", "OPTIONS", "*"]; export declare const VALID_REQUEST_PROTOCOLS: readonly ["http", "https"]; export declare const PORT_MIN = 1; export declare const PORT_MAX = 65535; export declare const MOCK_RESPONSE_STATUS_MIN = 100; export declare const MOCK_RESPONSE_STATUS_MAX = 599; export declare const VALID_DEFINITION_KEYS: Set; export declare const VALID_CONFIG_KEYS: Set; export declare const VALID_BROWSER_CONFIG_KEYS: Set; export declare const VALID_ITEM_KEYS: Record>; export declare const VALID_TEST_KEYS: Set; export declare const VALID_STEP_KEYS: Set; export declare const VALID_ACTION_KEYS: Record>; export declare const VALID_UI_SUB_STEP_KEYS: readonly ["visit", "click", "type", "waitFor", "extract", "screenshot", "scroll", "select", "hover", "key", "upload", "drag", "viewport"]; export type UiSubStepKind = (typeof VALID_UI_SUB_STEP_KEYS)[number]; export declare const VALID_UI_SUB_STEP_KEY_SET: Set; /** * Optional sibling keys allowed alongside the kind discriminator on a UI * sub-step. e.g. `{ click: "...", timeoutMs: 5000 }`. Validated separately; * not flagged as unknown. */ export declare const VALID_UI_SUB_STEP_OPTIONAL_KEYS: Set; /** Shape of `type` sub-step: { type: { selector, text } } */ export declare const VALID_UI_TYPE_KEYS: Set; /** Shape of object-form `waitFor` sub-step: { waitFor: { selector, text? } } */ export declare const VALID_UI_WAITFOR_OBJECT_KEYS: Set; /** Shape of a single UI extract source (value under an extract variable name). */ export declare const VALID_UI_EXTRACT_SOURCE_KEYS: Set; /** Values accepted for `from` in a UI extract source. */ export declare const VALID_UI_EXTRACT_FROM: readonly ["text", "attribute", "value", "url", "cookie", "localStorage", "sessionStorage", "count", "exists"]; export type UiExtractFrom = (typeof VALID_UI_EXTRACT_FROM)[number]; /** Values accepted for `part` when `from: "url"`. */ export declare const VALID_UI_EXTRACT_URL_PARTS: readonly ["full", "pathname", "search", "hash", "host"]; export type UiExtractUrlPart = (typeof VALID_UI_EXTRACT_URL_PARTS)[number]; export declare const VALID_ASSERTION_BLOCK_KEYS: Set; export declare const VALID_ASSERTION_KEYS: Set; export declare const VALID_ASSERTION_OPERATORS: readonly ["eq", "eqIgnoreCase", "ne", "gt", "gte", "lt", "lte", "contains", "containsIgnoreCase", "notContains", "notContainsIgnoreCase", "matches", "exists", "notExists", "in", "notIn", "isEmpty", "notEmpty"]; export declare const VALID_MATCH_CRITERIA_KEYS: Set; export declare const VALID_WHERE_ENTRY_KEYS: Set; export declare const VALID_TRANSFORMS: readonly ["length", "type", "keys", "values", "entries"]; export declare const VALID_SOURCE_FIELDS: readonly ["path", "count", "type", "keys", "values", "entries"]; export declare const VALID_COUNT_OPERATORS: readonly ["eq", "gte", "lte", "gt", "lt"]; export declare const VALID_COUNT_ASSERTION_KEYS: Set; export declare const VALID_LOOP_BODY_KEYS: readonly ["match", "assertions", "extract", "forEach", "for", "repeat", "action", "steps"]; export declare const VALID_FOR_EACH_KEYS: Set; export declare const VALID_FOR_KEYS: Set; export declare const VALID_REPEAT_KEYS: Set; export declare const VALID_EXTRACT_TRANSFORMS: readonly ["keys", "values", "entries"];