import { Item, ItemDao } from "@terrestrialorigin/core"; import { TaskTemplate } from "../models/TaskTemplate"; export declare class TaskTemplateDao implements ItemDao { addItem(itemToAdd: TaskTemplate, parentItem?: Item): Promise; findItemsByName(name: string, parentItem?: Item): Promise; findItemsByNameStartsWith(name: string, parentItem?: Item): Promise; findItemByNameUseFirstFound(name: string, parentItem?: Item): Promise; findOrCreateByName(name: string, parentItem?: Item): Promise; getAll(maxQueryLimit?: number, orderByColumnName?: string, orderType?: 'asc' | 'desc', converterFunction?: any, filterFunction?: any): Promise; getAllByParent(parentItem: Item, maxQueryLimit?: number, orderByColumnName?: string, orderType?: 'asc' | 'desc', converterFunction?: any, filterFunction?: any): Promise; getAllOnUpdate(onUpdate: any, onError: any, maxQueryLimit?: number, orderByColumnName?: string, orderType?: 'asc' | 'desc', converterFunction?: any, filterFunction?: any): Promise<() => any | void>; getAllByParentOnUpdate(parentItem: Item, onUpdate: any, onError: any, maxQueryLimit?: number, orderByColumnName?: string, orderType?: 'asc' | 'desc', converterFunction?: any, filterFunction?: any): Promise<() => any | void>; findById(id: string): Promise; saveItem(item: TaskTemplate, parentItem?: Item): Promise; deleteItem(item: TaskTemplate): Promise; saveItems(itemsToKeep: TaskTemplate[], itemsToDelete?: TaskTemplate[], parentItem?: Item): Promise; }