import type { CapturedErrorContext } from 'nitropack/types'; /** * Callback for the 'error' nitro hook. * * This is called during any error that happens in an event handler. */ export declare function onError(_error: Error, ctx: CapturedErrorContext): void | Promise;