import { AxiosInstance, AxiosError, AxiosResponse } from 'axios'; import { z } from 'zod'; export declare class APIResource { protected client: AxiosInstance; constructor(client: AxiosInstance); protected handleResponse(response: AxiosResponse): T; protected validateInput(schema: z.ZodType, input: U): T; protected handleError(error: AxiosError): never; private getErrorMessage; }