import { AxiosRequestConfig } from 'axios';
import { IView } from './namespace';
export default class ViewGeneric<T> implements IView<T> {
    protected get_url: string;
    protected post_url: string;
    protected update_url: string;
    protected delete_url: string;
    constructor(get_url: string, post_url: string, update_url: string, delete_url: string);
    retrieve: (config?: AxiosRequestConfig) => Promise<T>;
    create: (data: T, config?: AxiosRequestConfig) => Promise<T>;
    update: (data: T, config?: AxiosRequestConfig) => Promise<T>;
    delete: (config?: AxiosRequestConfig) => Promise<T>;
}
//# sourceMappingURL=view-generic.d.ts.map