import { ErrorTracking as CoreErrorTracking } from '@posthog/core'; /** * Captures structured exception properties from any thrown value. * * Returns the `$exception_list` shape PostHog error tracking expects, so MCP * tool failures group and (with uploaded source maps) symbolicate the same way * as exceptions from any other PostHog SDK. * * @param error - The thrown value (Error, string, object, CallToolResult, or anything). * @returns Core `ErrorProperties` ready to spread onto a `$exception` event. */ export declare function captureException(error: unknown): CoreErrorTracking.ErrorProperties; //# sourceMappingURL=exceptions.d.ts.map