import { Aggregate } from './aggregate.js'; import { BaseSearchActionsInterface } from './model.interface.js'; export declare abstract class SearchActions extends Aggregate implements BaseSearchActionsInterface { protected abstract loadRelations(results: any[]): Promise[]; protected abstract loadCustomRelations(results: any[]): Promise[]; /** * Returns list of all matching records. */ all(): Promise; /** * Returns fist matching record */ first(): Promise; /** * Finds the record on primary key or returns null * @param id */ find(id: any): Promise; /** * Finds value at index. * @param indexName * @param id */ findIndex(indexName: string, id: any): Promise; /** * Finds all values for the index * * @param indexName * @param id */ findAllIndex(indexName: string, id: any): Promise; }