import { type MatchesQueryParameters, type AvonRequest } from '../Http/Requests'; import type Filter from '../Filters/Filter'; import { type AbstractMixable, type Mixable } from './Mixable'; import type Repository from '../Repositories/Repository'; import { TrashedStatus } from './SoftDeletes'; import type Ordering from '../Orderings/Ordering'; declare const _default: > | AbstractMixable> = Mixable>>(Parent: Tbase) => { new (...args: any[]): { [x: string]: any; /** * Search repository for incoming request. */ search(request: AvonRequest, filters?: MatchesQueryParameters, orderings?: MatchesQueryParameters, withTrashed?: TrashedStatus): Promise; /** * Initialize the search configuration. */ initializeSearch(request: AvonRequest, filters?: MatchesQueryParameters, orderings?: MatchesQueryParameters): Promise; /** * Apply the softe-delete into given query. */ applySoftDeleteConstraint(repository: Repository, withTrashed: TrashedStatus): Repository; /** * Apply any applicable filters to the repository. */ applyFilters(request: AvonRequest, repository: Repository, filters: MatchesQueryParameters): Promise; /** * Apply any applicable orders to the repository. */ applyOrderings(request: AvonRequest, repository: Repository, orderings?: MatchesQueryParameters): Promise; /** * Build a "relatable" query for the given resource. * * This query determines which instances of the model may be attached to other resources. */ relatableQuery(request: AvonRequest, repository: Repository): Repository; }; } & Tbase; export default _default; //# sourceMappingURL=PerformsQueries.d.ts.map