import { EntityShape } from "./Entity"; type Language = 'zh_CN' | 'en_US'; type LocaleOfSchema> = { [A in keyof Required>]: string; }; type LocaleOfStringEnum = { [K in A]: string; }; type LocaleOfValue> = { [K in keyof V]: { [K2 in V[K]]: string; }; }; export type LocaleDef, Ac extends string, R extends string, V extends Record> = { [L in Language]?: { attr: LocaleOfSchema & { [A in keyof V]: string; }; action?: LocaleOfStringEnum; r?: LocaleOfStringEnum; v?: LocaleOfValue; }; }; export {};