import type { CapturedErrorContext } from 'nitropack';
/**
 * 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): Promise<void> | undefined;
