import { IAPProduct, IAPProductOptions } from '@innomobile-native/plugins'; import { NgxsOnInit, StateContext } from '@ngxs/store'; import { Observable } from 'rxjs'; import { AddPackage, AddProduct, IapPurchaseVerified } from './iap.actions'; import { IapStateModel } from './iap.model'; import * as i0 from "@angular/core"; export declare class IapState implements NgxsOnInit { private debug; static getPackages(state: IapStateModel): IAPProductOptions[]; static getProducts(state: IapStateModel): IAPProduct[]; static purchasedItems(state: IapStateModel): any[]; static getProduct(alias: string): (state: IapStateModel) => IAPProduct; constructor(debug: any); ngxsOnInit(ctx: StateContext): void; iapInit(ctx: StateContext): Observable; iapClear(ctx: StateContext): IapStateModel; iapClearUser(ctx: StateContext): IapStateModel; purchaseVerified(ctx: StateContext, { purchase }: IapPurchaseVerified): false | IapStateModel; addPackage(ctx: StateContext, { iap }: AddPackage): false | IapStateModel; addProduct(ctx: StateContext, { product }: AddProduct): IapStateModel; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }