import * as react_jsx_runtime from 'react/jsx-runtime'; import { useCallback } from 'react'; import { GraphQLError } from '@vn-sdk/runtime-client-gql'; declare function ErrorToast({ errors }: { errors: (Error | GraphQLError)[]; }): react_jsx_runtime.JSX.Element; declare function useErrorToast(): (error: (Error | GraphQLError)[]) => void; declare function useAsyncCallback Promise>(callback: T, deps: Parameters[1]): (...args: Parameters) => Promise; export { ErrorToast, useAsyncCallback, useErrorToast };