export function throwFormError(error: any): never;