import { H3Error } from 'h3'; export declare const NUXT_ERROR_SIGNATURE = "__nuxt_error"; export declare const useError: () => import("vue").Ref; export interface NuxtError extends H3Error { } export declare const showError: (error: string | Error | Partial>) => NuxtError; /** @deprecated Use `throw createError()` or `showError` */ export declare const throwError: (error: string | Error | Partial>) => NuxtError; export declare const clearError: (options?: { redirect?: string; }) => Promise; export declare const isNuxtError: (error?: string | object) => error is NuxtError; export declare const createError: (error: string | Partial>) => NuxtError;