import * as api from '@pay-api/api'; export type SdkProps = { clientId: api.ClientId; scopes: api.Scopes; mode: api.Mode; provider?: api.Provider; sandbox?: boolean; state?: string; onSuccess?: Function; onError?: Function; onClose?: Function; zIndex?: number; }; export declare const useConnect: (props: SdkProps) => { open: () => null | void; };