import { Method, Routes } from '../@types';
import type { Response } from './Response';
export declare const handleError: (err: Error | string, response: Response, code?: number) => Promise<boolean>;
export declare const getRouteKeys: (method?: Method | Method[]) => Array<keyof Routes>;
