import { BaseEntity } from 'typeorm'; import { EntityConstructorObject } from '../base/base.entity'; import { JsonArray } from '../common'; import { AdminUser } from '../core/auth/auth.entities'; import type { UserProfile } from '../core/auth/user.entities'; import { WxSubscribeSceneType } from './wx.interfaces'; export declare class WeChatUserIdentifierHelper { static parse: (identifier: string) => Partial<{ openId: string; }>; static stringify: (payload: Partial<{ openId: string; }>) => string; static resolve(identifier: string): { type: string; openId: string; }; static identify(identifier: string): boolean; } declare const WeChatUser_base: { new (...args: any[]): { tenantId?: string; tenant?: import("../tenant/tenant.entities").Tenant; hasId(): boolean; save(options?: import("typeorm").SaveOptions): Promise; remove(options?: import("typeorm").RemoveOptions): Promise; softRemove(options?: import("typeorm").SaveOptions): Promise; recover(options?: import("typeorm").SaveOptions): Promise; reload(): Promise; }; } & typeof BaseEntity; export declare class WeChatUser extends WeChatUser_base { constructor(o: EntityConstructorObject); openId: string; nickname: string; headImg: string; remark: string; groupId: number; unionId: string; tagIds: JsonArray; sex: number; subscribe: number; subscribeTime: number; subscribeScene: WxSubscribeSceneType; country: string; city: string; province: string; language: string; qrScene: number; qrSceneStr: string; createdAt?: Date; updatedAt?: Date; admin?: AdminUser; } export declare class WXMiniAppUserInfo extends BaseEntity { openId: string; nickname: string; gender: number; language: string; mobile: string; city: string; province: string; country: string; avatar: string; createdAt?: Date; updatedAt?: Date; updatedBy?: string; profileId: string; profile: UserProfile; afterLoad(): void; } export {};