import { Connect } from 'vite';

interface Options {
    readonly getError: () => Error | undefined;
}
/**
 * Middleware that serves an error page when an error is present.
 */
declare const _default: ({ getError }: Options) => Connect.NextHandleFunction;
export default _default;
