export type ReactNativeErrorEvent = { kind: 'error' | 'unhandledrejection' | 'console'; message?: string; filename?: string; lineNumber?: number; columnNumber?: number; stack?: string; }; export type ErrorClickData = { error: ReactNativeErrorEvent; eventProperties: Record; }; export type ErrorClickEventProperties = { '[Amplitude] Kind': ReactNativeErrorEvent['kind']; '[Amplitude] Message'?: string; '[Amplitude] Stack'?: string; '[Amplitude] Filename'?: string; '[Amplitude] Line Number'?: number; '[Amplitude] Column Number'?: number; }; type ErrorClickTracker = { registerClickEvent: (eventProperties: Record) => (() => void) | undefined; registerErrorEvent: (error: ReactNativeErrorEvent) => void; }; export declare function getErrorClickEventProperties(errorClickData: ErrorClickData): ErrorClickEventProperties & Record; export declare function createErrorClickTracker(errorClickHandler: (errorClickData: ErrorClickData) => void): ErrorClickTracker; export declare const createUnhandledErrorObservable: (handler: (event: ReactNativeErrorEvent) => void) => (() => void); export declare const createErrorObservable: (handler: (event: ReactNativeErrorEvent) => void) => (() => void); export {}; //# sourceMappingURL=error-click.d.ts.map