import { ToStringable } from "../util"; import { EntityType, IEntity } from "../metadata"; import { Query } from "../elements"; import { Service } from "./service"; export declare class StaticDataService implements Service { private _items; private _onNotFound?; private _keyGetter; constructor(args: { entityType: EntityType; items: V[]; keyGetter: (item: V) => K; onNotFound?: (key: K) => Promise | V; }); load(q: Query): Promise; }