import Model from './model'; import { Article } from '../models/article'; import { News } from '../models/news'; import { Media } from '../models/media'; interface Models { article: typeof Article; news: typeof News; media: typeof Media; } declare class Wechat { appId: string; appSecret: string; get: () => string | Promise; set: (token: string) => void | Promise; models: Models & Record; constructor(appId: string, appSecrect: string, get?: () => string | Promise, set?: (token: string) => void | Promise); private _getAccessToken; sync(): Promise; getAccessToken(): Promise; addModel(model: typeof Model): void; } export default Wechat; //# sourceMappingURL=wechat.d.ts.map