import { McpToolResponse } from "./types"; /** * Recursively removes specified keys from an object. */ export declare function stripInternalKeys(obj: unknown, keys?: string[]): unknown; /** * Recursively converts numeric Unix timestamp fields to ISO 8601 strings. * Targets fields ending in `_at`, `_date`, or named exactly `created` or `date`. */ export declare function convertTimestamps(obj: unknown): unknown; /** * Composes stripInternalKeys and convertTimestamps to produce a cleaned * Stripe response optimized for LLM consumption. */ export declare function transformStripeResponse(data: unknown): unknown; /** * Transforms Stripe data and wraps it in the MCP tool response format. * Optionally prepends an action message to provide context for write operations. */ export declare function formatMcpResponse(data: unknown, actionMessage?: string): McpToolResponse; /** * Wraps an error in the MCP tool error response format. */ export declare function formatMcpError(error: unknown): McpToolResponse;