import { SearchActions } from './search-actions.js'; export declare abstract class FindFailActions extends SearchActions { /** * Returns fist matching record or throws NotFound exception * @throws NotFound */ firstOrFail(): Promise; /** * Finds the record on primary key or throws error * @param id * @throws NotFound */ findOrFail(id: any): Promise; /** * Finds value at index or throws NotFound exception. * @param indexName * @param id * @throws NotFound */ findIndexOrFail(indexName: string, id: any): Promise; }