import Base from './base.js'; import ModelColl from './collection.js'; import ModelAcl from './acl.js'; declare class Document extends Base { get _modelCl(): ModelColl; get _modelAcl(): ModelAcl; private _getSysCl; byId(existCl: any, id: any, projection?: null): Promise; findOne(existCl: any, { filter, like }: { filter: any; like?: boolean | undefined; }, projection?: null): Promise; remove(tmwCl: any, id: any): Promise; removeMany(tmwCl: any, query: any): Promise; copyMany(tmwCl: any, query: any, targetCl: any): Promise; create(existCl: any, data: any): Promise; createMany(tmwCl: any, rows: any[]): Promise; update(existCl: any, id: string, updated: any, removed?: any): Promise; updateMany(existCl: any, query: any, updated: any): Promise; replace(existCl: any, id: string, newDoc: any): Promise; list(tmwCl: any, { filter, orderBy }?: { filter?: any; orderBy?: any; }, { page, size }?: { page?: any; size?: any; }, like?: boolean, projection?: null, includeDeleted?: boolean): Promise<[boolean, string | { docs: any[]; total: number; }]>; byIds(existCl: any, ids: any, fields?: {}): Promise; count(existCl: any, query: any): Promise; dataActionLog(oDatas: any, operate_type: any, dbname: any, clname: any, operate_after_dbname?: string, operate_after_clname?: string, operate_before_data?: any, client_info?: any): Promise; dataActionLogPG(datas: any[], operate_type: string, dbname: string, clname: string, operate_after_dbname: string, operate_after_clname: string, operate_before_data: any, client_info: any, current: string): Promise; getDocCompleteStatus(existCl: any, docs: any): Promise; getDocumentByIds(tmwCl: any, ids: any, fields?: {}): Promise; getDocSchema(schemaId: string): Promise; } export default Document;