import { IOauth2Options , IOauth1Options } from './config-interfaces' ; import { Observable } from 'rxjs' ; export interface IOauthService { open < T extends object | string > ( options , userData ) : Observable < T > ; }