/**
 * useApi Hook
 * Provides a typed API client with error handling and request/response interceptors
 */
import { AxiosRequestConfig, AxiosResponse } from 'axios';
interface ApiConfig extends AxiosRequestConfig {
    skipAuth?: boolean;
    skipErrorHandling?: boolean;
}
export declare const useApi: () => {
    get: <T>(url: string, config?: ApiConfig) => Promise<AxiosResponse<T>>;
    post: <T>(url: string, data?: unknown, config?: ApiConfig) => Promise<AxiosResponse<T>>;
    put: <T>(url: string, data?: unknown, config?: ApiConfig) => Promise<AxiosResponse<T>>;
    patch: <T>(url: string, data?: unknown, config?: ApiConfig) => Promise<AxiosResponse<T>>;
    delete: <T>(url: string, config?: ApiConfig) => Promise<AxiosResponse<T>>;
};
export default useApi;
//# sourceMappingURL=useApi.d.ts.map