import { CrudRestControllerOptions } from '@loopback/rest-crud'; import { AbstractKVRepository } from '../repositories'; import { BaseKVEntity } from './../models'; export interface IKVControllerOptions { entity: typeof BaseKVEntity & { prototype: E; }; repository: { name: string; }; controller: CrudRestControllerOptions; } export declare const defineKVController: (opts: IKVControllerOptions) => { new (repository: AbstractKVRepository): { repository: AbstractKVRepository; defaultLimit: number; get(key: string): Promise; getKeys(match: string): AsyncIterable; }; }; //# sourceMappingURL=kv.controller.d.ts.map