import { IAPProduct } from '@ionic-native/in-app-purchase-2/ngx'; import { IStore } from './stores/store.interface'; import { RegisterProductIdentifier } from './interfaces/register-product-identifier.interface'; import { Observable } from 'rxjs'; export declare class IonicPerfectIapService { private store; private _products; private _isReady; verbose: boolean; constructor(); get isReady(): boolean; get products(): IAPProduct[]; initialize(store: IStore, products: RegisterProductIdentifier[]): Promise; buy(product: string | IAPProduct): Promise<{}>; purchased(product: string | IAPProduct, onlyNewPurchases?: boolean): Promise; owned(product: string | IAPProduct): Observable; approved(product: string | IAPProduct): Observable; verified(product: string | IAPProduct): Observable; private addOrReplace; private registerProducts; }