import { AxiosInstance } from 'axios'; export declare class FrappeCall { /** URL of the Frappe App instance */ private readonly appURL; /** Axios instance */ readonly axios: AxiosInstance; /** Whether to use the token based auth */ readonly useToken: boolean; /** Token to be used for authentication */ readonly token?: () => string; /** Type of token to be used for authentication */ readonly tokenType?: 'Bearer' | 'token'; constructor(appURL: string, axios: AxiosInstance, useToken?: boolean, token?: () => string, tokenType?: 'Bearer' | 'token'); /** Makes a GET request to the specified endpoint */ get(path: string, params?: Record): Promise; /** Makes a POST request to the specified endpoint */ post(path: string, params?: any): Promise; /** Makes a PUT request to the specified endpoint */ put(path: string, params?: any): Promise; /** Makes a DELETE request to the specified endpoint */ delete(path: string, params?: any): Promise; }