export default function useAPI(endpoint?: string, params?: object, cache_s?: number): {
    error: string;
    result: any;
    calling: boolean;
    call: (endpoint1?: string | undefined, params1?: object | undefined, cache_s1?: number | undefined) => Promise<any>;
};
