import type { StandardJSONSchemaV1 } from "#compiled/@standard-schema/spec/index.js"; import type { HandleMessageStreamEvent } from "#protocol/message.js"; import type { JsonObject } from "#shared/json.js"; /** * Normalizes a client-supplied output schema into the wire-safe JSON Schema * representation accepted by eve message routes. */ export declare function normalizeOutputSchemaForRequest(schema: StandardJSONSchemaV1 | JsonObject | undefined): JsonObject | undefined; /** * Extracts the most recent finalized structured result from a turn event list. */ export declare function extractCompletedResult(events: readonly HandleMessageStreamEvent[]): TOutput | undefined;