import { type CallToolResult } from "@modelcontextprotocol/server"; export declare const MCP_READ_RESPONSE_TOO_LARGE_CODE = "MCP_READ_RESPONSE_TOO_LARGE"; export declare const MCP_READ_RESPONSE_TOO_LARGE_STATUS = "response-too-large"; export declare const GUILDCONTROL_RECEIPT_PREFIX = "GUILDCONTROL_RECEIPT "; export declare const GUILDCONTROL_RECEIPT_SCHEMA = "guildcontrol-result-receipt.v1"; type McpReadSurface = "prompt" | "resource"; export declare function redactMcpValue(value: T, secrets: readonly (string | undefined)[]): T; export declare function redactedJson(value: unknown, secrets: readonly (string | undefined)[], indentation?: number): string; export declare function serializedMcpResultBytes(value: unknown): number; export declare function contentFreeToolReceipt(structuredContent: unknown): Record | undefined; export declare function withContentFreeToolReceipt(result: T): T; export declare function budgetMcpToolResult(result: T, maxBytes: number, preserveMutationOutcome: boolean): T | CallToolResult; export declare function assertMcpReadResultBudget(result: T, maxBytes: number, surface: McpReadSurface): T; export {}; //# sourceMappingURL=mcp-output.d.ts.map