import { ACTION_TYPES, API_TYPE, BaseAPIProps, Routes_Input, ResponseType } from '../types';
declare const commonApi: ({ data, config, baseUrl, token, url, method, onError, }: BaseAPIProps) => Promise<ResponseType>;
declare const getApiType: ({ routes, action, prefix, id, }: {
    routes?: Routes_Input | undefined;
    action: ACTION_TYPES;
    prefix: string;
    id?: string | undefined;
}) => API_TYPE;
export default commonApi;
export { getApiType };
