/** * Use this for container Views that have accessible children (other test IDs nested inside). * * On iOS, `accessible={true}` makes a View an accessibility leaf and hides its * children from the XCUITest tree. To avoid that we use `testID` instead, which * maps to `accessibilityIdentifier` on iOS — the view still appears in the * XCUITest tree with its identifier as `name`, while children remain visible. * * On Android, `accessibilityLabel` maps to `content-desc` and child views remain * visible by default. * * Both platforms are findable via the WDIO `~` accessibility selector. * * @param id - The structured test ID */ export declare const setContainerTestID: (id: string) => { testID?: undefined; accessibilityLabel?: undefined; } | { testID: string; accessibilityLabel: string; }; /** * Generates cross-platform test identifier props for WebDriverIO / Appium. * * Usage in WDIO tests: * const element = await $('~com.cloudflare.realtimekit.ui:MEDIA.CONTROLS.MIC_TOGGLE_ON'); * * How it works: * - `accessible={true}` marks the element as an accessibility element * - `accessibilityLabel` maps to: * - iOS: `accessibilityLabel` -> WDIO `~` finds it via `label` * - Android: `content-desc` -> WDIO `~` finds it via `content-desc` * * Uses structured dot notation: APP_ID:DOMAIN.SCREEN.ELEMENT * e.g., "com.cloudflare.realtimekit.ui:MEDIA.CONTROLS.MIC_TOGGLE_ON" * * @param id - The structured test ID (e.g., "MEDIA.CONTROLS.CAMERA_TOGGLE_ON") * @returns Props object to spread onto a React Native component */ export declare const setTestID: (id: string) => { accessible?: undefined; accessibilityLabel?: undefined; } | { accessible: boolean; accessibilityLabel: string; }; //# sourceMappingURL=native-id.d.ts.map