import Queryable from '../collections/queryable';
declare class Repository {
    typeOf: any;
    apiUrl: any;
    collection: any;
    constructor({ type, apiUrl, collection }: {
        type: any;
        apiUrl: any;
        collection: any;
    });
    createNew(raw: any): any;
    createCollection(data: any): Queryable;
    get(params?: any, { type, url }?: any): Promise<any>;
    getOne(params: any, options?: any): Promise<any>;
    getMany(params: any, options?: any): Promise<any>;
    create(params?: any, { url }?: any): Promise<any>;
    search(params: any, { url }?: any): Promise<any>;
    getEntity(response: any): any;
    toQueryable(data: any): Queryable;
    getQueryable(response: any, dataKey?: any): any;
    fetch(params: any, { url, dataKey }?: any): Promise<any>;
    update(params: any, { url }?: any): Promise<any>;
    updateWithPost(params: any, { url }?: any): Promise<any>;
    delete(params: any, { url }?: any): Promise<any>;
    deleteByUid(params: any, { url }?: any): Promise<any>;
    post(url: any, params: any): Promise<any>;
    postOne(url: any, params: any): Promise<any>;
}
export default Repository;
