import type { Migration, MigrationContext, MigrationResult } from "./migration.interface.js";
/**
 * Migration: add the RN 0.85 `AccessibilityManager` TurboModule mock to an
 * existing project's `jest.config.react-native-mock.js`.
 *
 * That file is create-only, so Lisa never overwrites it once a project has been
 * scaffolded. Projects created before the AccessibilityManager mock was added to
 * the template therefore keep a stale copy. After the Expo SDK 56 / React Native
 * 0.85 upgrade, `AccessibilityInfo` eagerly reads the `AccessibilityManager`
 * TurboModule; without the mock it resolves to null and every test suite that
 * touches accessibility crashes the Jest worker with
 * "NativeAccessibilityManagerIOS is not available".
 *
 * Idempotent and conservative: only acts on Expo projects whose mock file exists,
 * still exposes the `module.exports = {` registry anchor, and does not already
 * define `AccessibilityManager`. The block is inserted as the first registry
 * entry so it is unaffected by any project-specific module mocks that follow.
 */
export declare class EnsureJestRnMockAccessibilityManagerMigration implements Migration {
    readonly name = "ensure-jest-rn-mock-accessibility-manager";
    readonly description = "Add the RN 0.85 AccessibilityManager TurboModule mock to jest.config.react-native-mock.js";
    /**
     * Applies to Expo projects whose create-only mock file exists, exposes the
     * registry anchor, and does not already define the AccessibilityManager mock.
     * @param ctx - Migration context
     * @returns True when the mock is missing and can be safely inserted
     */
    applies(ctx: MigrationContext): Promise<boolean>;
    /**
     * Insert the AccessibilityManager mock block immediately after the
     * `module.exports = {` anchor. Re-checks the marker so the operation is
     * idempotent even if `applies` and `apply` are called out of step.
     * @param ctx - Migration context
     * @returns Result describing the action taken
     */
    apply(ctx: MigrationContext): Promise<MigrationResult>;
}
//# sourceMappingURL=ensure-jest-rn-mock-accessibility-manager.d.ts.map