import { Int } from 'oak-domain/lib/types/DataType'; import { EntityShape } from 'oak-domain/lib/types/Entity'; import { Schema as Application } from './Application'; import { EntityDesc } from 'oak-domain/lib/types/EntityDesc'; import { Schema as WechatPublicTag } from './WechatPublicTag'; type Config = { button: any[]; matchrule?: { tag_id?: string; }; }; export interface Schema extends EntityShape { menuId?: Int<4>; menuConfig: Config; application: Application; wechatPublicTag?: WechatPublicTag; } export type IAction = 'success' | 'fail'; export type IState = 'wait' | 'success' | 'fail'; export type Action = IAction | 'publish'; export declare const entityDesc: EntityDesc; export {};