import type { EmitterSubscription } from 'react-native'; import type { RawPayoutError, RawPayoutRecord } from './types'; export declare const payoutEvents: { readonly payoutUpdated: "payouts:onUpdated"; readonly payoutFailed: "payouts:onFailed"; }; export type PayoutEventName = (typeof payoutEvents)[keyof typeof payoutEvents]; export type PayoutEventPayloads = { [payoutEvents.payoutUpdated]: RawPayoutRecord; [payoutEvents.payoutFailed]: RawPayoutError; }; export declare const addPayoutListener: (eventName: TEventName, listener: (payload: PayoutEventPayloads[TEventName]) => void) => EmitterSubscription; //# sourceMappingURL=events.d.ts.map