import { Http } from "./../uni/uni_http"; import { CommonList, DataRequest, ExtOptionData, Resonpse } from "./data_types"; import { OptionData } from "./types"; export interface DAtA_URI { dataCreate: string; dataList: string; dataListWithCount: string; dataUpdate: string; dataFirst: string; [key: string]: string; } export declare class DataModel { table: string; http?: Http; dataUri: DAtA_URI; constructor(table: string, http?: Http); create(data: OptionData[]): Promise>; list(where?: OptionData[], extOption?: ExtOptionData): Promise>; listWithCount(where?: OptionData[], extOption?: ExtOptionData): Promise>>; update(data: OptionData[], where?: OptionData[]): Promise>; content(where?: OptionData[], extOption?: ExtOptionData): Promise>; anyData(key: string, data: DataRequest): Promise> | undefined; httpDo(url: string, data: Partial): Promise>; } export declare const dataModel: (table: string, http?: Http) => DataModel;