import type { AnyErrorHandler, SentryHandleServerErrorInput } from '../common/handleErrorTypes'; /** * The default shape of the wrapped hook: structurally compatible with SvelteKit's * `HandleServerError` on every supported major. */ type SentryHandleServerError = (input: SentryHandleServerErrorInput) => Promise; /** * Wrapper for the SvelteKit error handler that sends the error to Sentry. * * @param handleError The original SvelteKit error handler. */ export declare function handleErrorWithSentry(handleError?: T): T; export {}; //# sourceMappingURL=handleError.d.ts.map