import { TurboModule } from 'react-native';
import { Int32 } from 'react-native/Libraries/Types/CodegenTypes';
import { UnsafeObject } from './fabricUtils';
import { LinkSuccess, LinkExit, LinkError, FinanceKitError } from '../Types';
export interface Spec extends TurboModule {
    create(token: string, noLoadingState: boolean): void;
    open(fullScreen: boolean, onSuccess: (result: UnsafeObject<LinkSuccess>) => void, onExit: (error: UnsafeObject<LinkError>, result: UnsafeObject<LinkExit>) => void): void;
    dismiss(): void;
    submit(phoneNumber: string | undefined): void;
    addListener(eventName: string): void;
    removeListeners(count: Int32): void;
    syncFinanceKit(token: string, requestAuthorizationIfNeeded: boolean, onSuccess: (success: boolean) => void, onError: (error: UnsafeObject<FinanceKitError>) => void): void;
}
declare const _default: Spec | null;
export default _default;
