import { EntityDict, OperateOption, SelectOption, OperationResult, AggregationResult } from "oak-domain/lib/types"; import { AmapInstance } from "oak-external-sdk/lib/service/amap/Amap"; import { EntityDict as BaseEntityDict } from 'oak-domain/lib/base-app-domain'; import { AsyncContext } from "oak-domain/lib/store/AsyncRowStore"; export declare type AspectDict = { operate: (params: { entity: T; operation: ED[T]['Operation'] | ED[T]['Operation'][]; option?: OP; }, context: AsyncContext) => Promise[] | OperationResult>; select: (params: { entity: T; selection: ED[T]['Selection']; option?: OP; getCount?: true; }, context: AsyncContext) => Promise<{ data: Record; total?: number; }>; aggregate: (params: { entity: T; aggregation: ED[T]['Aggregation']; option?: OP; }, context: AsyncContext) => Promise>; count: (params: { entity: T; selection: Pick; option?: OP; }, context: AsyncContext) => Promise; fetchRows: (params: Array<{ entity: keyof ED; selection: ED[keyof ED]['Selection']; option?: OP; }>, context: AsyncContext) => Promise; amap: (params: { key: string; method: T; data: Parameters[0]; }) => Promise; getTranslations: (params: { namespace: string | string[]; locale: string; }) => Promise; importEntity: (params: FormData, context: AsyncContext) => Promise; exportEntity: (params: { entity: T; id: string; filter?: ED[T]['Selection']['filter']; properties?: Record; }, context: AsyncContext) => Promise; getImportationTemplate: (params: { id: string; }, context: AsyncContext) => Promise; searchPoi: (options: { value: string; areaCode?: string; indexFrom?: number; count?: number; typeCode?: string; }) => Promise<{ id: string; areaId: string; poiName: string; detail: string; coordinate: [number, number]; }[]>; loadRelations: (params: { entities: (keyof ED)[]; }, context: AsyncContext) => Promise; crossBridge: (params: { url: string; }) => Promise>; }; export default AspectDict;