oak-general-business/lib/features/wechatSdk.native.d.ts

14 lines
620 B
TypeScript

import { Feature } from 'oak-frontend-base/es/types/Feature';
import { EntityDict } from '../oak-app-domain';
import { Cache } from 'oak-frontend-base/es/features/cache';
import { LocalStorage } from 'oak-frontend-base/es/features/localStorage';
export declare class WechatSdk<ED extends EntityDict> extends Feature {
private cache;
private storage;
constructor(cache: Cache<ED>, storage: LocalStorage);
wxConfig(): void;
initWeiXinJsSDK(): Promise<void>;
loadWeiXinJsSDK(): Promise<void>;
subscribeMpMessage(messageTypes: string[], haveToAccept?: boolean, tip?: string): Promise<boolean>;
}