interface HonoError extends Error {
    status?: number;
}
export interface HonoContext {
    req: {
        method: string;
        path?: string;
    };
}
export interface Options {
    /**
     * Callback method deciding whether error should be captured and sent to Sentry
     * @param error Captured middleware error
     */
    shouldHandleError?(this: void, error: HonoError): boolean;
}
/** Only exported for internal use */
export declare function getHonoIntegration(): ReturnType<typeof _honoIntegration> | undefined;
declare const _honoIntegration: (options?: Partial<Options>) => {
    name: string;
    handleHonoException(err: HonoError, context: HonoContext): void;
};
/**
 * Automatically captures exceptions caught with the `onError` handler in Hono.
 *
 * The integration is enabled by default.
 *
 * @example
 * integrations: [
 *   honoIntegration({
 *     shouldHandleError: (err) => true; // always capture exceptions in onError
 *   })
 * ]
 */
export declare const honoIntegration: (options?: Partial<Options> | undefined) => import("@sentry/core").Integration;
export {};
//# sourceMappingURL=hono.d.ts.map