export interface ErrorHandlerInterface { error: any; title?: string; timeout?: number; } declare const handleError: ({ error }: ErrorHandlerInterface) => void; export { handleError };