// The hosted door imports `withOutputSchemas` from the shared table; this is the sibling declaration // its tsconfig needs (same convention as build-jobs.d.ts, retire-asset.d.ts and friends). Kept as // narrow as the door's own use: everything else in src/output-schemas.js is consumed from JavaScript. export type JsonSchema = Record; export const ENVELOPE_SUFFIX: Readonly>; export const ENVELOPE_REQUIRED: readonly string[]; export const OUTPUT_SCHEMAS: Readonly>; export function hasOutputSchema(name: string): boolean; export function declaredOutputTools(): string[]; export function outputSchemaFor(name: string): JsonSchema | undefined; export function shortOutputSchema(schema: T): T; export function wireOutputSchema(name: string): JsonSchema | undefined; export function withOutputSchema(tool: T): T; /** Decorate a server's tools/list answer so declared tools carry `outputSchema`. */ export function withOutputSchemas( mcp: unknown, requestSchema: unknown, register: () => T, ): T;