import { Count, Filter, FilterExcludingWhere, Where } from '@loopback/repository'; import { Resource } from '../models'; import { ResourceRepository } from '../repositories'; export declare class ResourceController { resourceRepository: ResourceRepository; constructor(resourceRepository: ResourceRepository); create(resource: Omit): Promise; count(where?: Where): Promise; find(filter?: Filter): Promise; updateAll(resource: Resource, where?: Where): Promise; findById(id: string, filter?: FilterExcludingWhere): Promise; updateById(id: string, resource: Resource): Promise; replaceById(id: string, resource: Resource): Promise; deleteById(id: string): Promise; }