export default class DataSourceService {
    db: any;
    userInfo: any;
    dataSourceModel: any;
    folderModel: any;
    constructor(dbpath: any);
    create(params: any): Promise<any>;
    update(id: any, params: any): Promise<any>;
    list(appId: any): Promise<any>;
    detail(pageId: any): Promise<any>;
    findByName(name: any): Promise<any>;
    delete(pageId: any): Promise<any>;
}
