import { Store, FieldsExpression, GetOptions, Entity } from '@subql/types-core'; export type HostStore = { storeGet: (entity: string, id: string) => Promise; storeGetByField: (entity: string, field: keyof T, value: any, options: GetOptions) => Promise; storeGetByFields: (entity: string, filter: FieldsExpression[], options: GetOptions) => Promise; storeGetOneByField: (entity: string, field: string, value: any) => Promise; storeSet: (entity: string, id: string, data: any) => Promise; storeBulkCreate: (entity: string, data: any[]) => Promise; storeBulkUpdate: (entity: string, data: any[], fields?: string[]) => Promise; storeRemove: (entity: string, id: string) => Promise; storeBulkRemove: (entity: string, ids: string[]) => Promise; }; export declare const hostStoreKeys: (keyof HostStore)[]; export declare const hostStoreToStore: (host: HostStore) => Store; export declare function storeHostFunctions(store: Store): HostStore;