import type { AnyErrorHandler, SentryHandleClientErrorInput } from '../common/handleErrorTypes'; /** * The default shape of the wrapped hook: structurally compatible with SvelteKit's * `HandleClientError` on every supported major. */ type SentryHandleClientError = (input: SentryHandleClientErrorInput) => void | App.Error; /** * 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