import type { BridgeEvents } from '@react-native-harness/bridge'; /** * Type-safe status line formatter for bridge events. * This ensures every event type has a corresponding status message. * * When adding new events to BridgeEvents: * 1. Add the event type to the appropriate events file in packages/bridge/src/shared/ * 2. Add a formatter function to the statusFormatter object below * 3. TypeScript will enforce that all event types are covered * 4. The formatter function receives the full event data for type safety */ export type StatusFormatter = { [K in BridgeEvents['type']]: (event: Extract) => string; }; /** * Maps every bridge event to a concise, informative status line. * Each formatter receives the full event data for type safety. */ export declare const statusFormatter: StatusFormatter; /** * Formats a bridge event into a status line. * This function is type-safe and ensures all event types are handled. */ export declare const formatEventStatus: (event: BridgeEvents) => string; //# sourceMappingURL=status-formatter.d.ts.map