import { type ErrorLike } from '../utils/errors'; interface GraphQLError { message?: string; } interface SimplifiedCombinedError { networkError?: Error; graphQLErrors: GraphQLError[]; } interface Props { title?: string; error: ErrorLike | SimplifiedCombinedError | unknown; } /** * This component renders an with an error message. * If the component is passed a CombinedError object from a GraphQL query, * it will display all unique error messages. */ declare const ErrorAlert: import("svelte").Component; type ErrorAlert = ReturnType; export default ErrorAlert;