import { FileCollection } from './collection';
import { Model } from '../model';
import { Context } from '../../context';
import { IResponse } from '../../types';
import { App } from '../../app';
export declare class FileModel extends Model {
    protected collection: FileCollection;
    constructor(app: App);
    find(query: any, projections: string, options: any, ctx?: Context): Promise<IResponse>;
    findById(id: string, projections: string, ctx?: Context): Promise<IResponse>;
    findOne(query: any, projections: string, ctx?: Context): Promise<IResponse>;
    count(query: any, ctx?: Context): Promise<IResponse>;
    search(query: any, projections: string, options: any, ctx?: Context): Promise<IResponse>;
    insert(documents: any, ctx?: Context): Promise<IResponse>;
    insertOne(document: any, ctx?: Context): Promise<IResponse>;
    update(filter: any, update: any, options: any, ctx?: Context): Promise<IResponse>;
    updateById(id: string, update: any, ctx?: Context): Promise<IResponse>;
    updateOne(filter: any, update: any, ctx?: Context): Promise<IResponse>;
    delete(filter: any, options: any, ctx?: Context): Promise<IResponse>;
    deleteById(id: string, ctx?: Context): Promise<IResponse>;
    deleteOne(filter: any, ctx?: Context): Promise<IResponse>;
}
