import React from 'react'; import { D as Dictionary } from './index-0OEeDC7T.mjs'; /** Tier 1 field types that every adapter should implement */ declare const TIER_1_FIELDS: readonly ["Textbox", "Number", "Toggle", "Dropdown", "Multiselect", "DateControl", "Slider", "RadioGroup", "CheckboxGroup", "Textarea", "ReadOnly", "DynamicFragment"]; /** All standard field types (Tier 1 + 2 + 3) */ declare const ALL_FIELD_TYPES: ("Textbox" | "Dropdown" | "Toggle" | "Number" | "Multiselect" | "DateControl" | "Slider" | "DynamicFragment" | "MultiSelectSearch" | "Textarea" | "DocumentLinks" | "StatusDropdown" | "ReadOnly" | "ReadOnlyArray" | "ReadOnlyDateTime" | "ReadOnlyCumulativeNumber" | "ReadOnlyRichText" | "ReadOnlyWithButton" | "FieldArray" | "RadioGroup" | "CheckboxGroup" | "Rating" | "ColorPicker" | "Autocomplete" | "FileUpload" | "DateRange" | "DateTime" | "PhoneInput")[]; /** Default test values by field type */ declare const VALUE_BY_TYPE: Record; interface IContractTestOptions { /** Field types to exclude from registry presence check */ excludeTypes?: string[]; /** If set, only test these types instead of ALL_FIELD_TYPES */ onlyTypes?: string[]; /** Description prefix for the test suite */ suiteName: string; /** Optional wrapper component for providers (e.g., StyletronProvider for base-web) */ wrapper?: React.ComponentType<{ children: React.ReactNode; }>; /** * Per-adapter known gaps for strict accessibility assertions. * * These fields exist in the registry but do NOT correctly forward ids, * aria-required, or aria-invalid from FieldWrapper-injected props to the * DOM. The strict assertion is skipped (logged) instead of failing. * * Use this to suppress failures on compat adapters that wrap third-party * components that own their own aria attributes (e.g., react-aria-components, * mantine's , some atlaskit/heroui compatibility wrappers). */ knownAriaGaps?: { idForwarding?: string[]; ariaRequired?: string[]; ariaInvalid?: string[]; }; } /** * Runs the adapter contract test suite against a field registry. * * @param registryFactory - Function that creates the field registry * @param options - Test configuration */ declare function runAdapterContractTests(registryFactory: () => Dictionary, options: IContractTestOptions): void; export { ALL_FIELD_TYPES, type IContractTestOptions, TIER_1_FIELDS, VALUE_BY_TYPE, runAdapterContractTests };