import { Express } from 'express'; import { R as ResponsesServerOptions, a as ResponsesServer, C as CreateResponse, b as ResponseObject, O as OutputItem, A as AgentReference, c as ResponseInput, I as InputItem } from './types-Dvs2F85g.js'; export { d as ConversationReference, E as ExpressResponse, F as FunctionCallOutputItem, e as ItemMessage, f as ItemReference, J as JsonValue, M as MessageContent, g as MessageContentInputText, h as MessageContentOutputText, i as MessageContentRefusal, j as ResponseContext, k as ResponseError, l as ResponseHandler, m as ResponseHandlerContext, n as ResponseHandlerResult, o as ResponseModeFlags, p as ResponseProvider, q as ResponseStatus, r as ResponseStreamEvent, s as ResponseStreamProvider, t as ResponseUsage, u as ResponsesHandler, v as ResponsesHandlerFactory, w as ResponsesHandlerInput, x as ResponsesRequest, y as ResponsesServerLogger } from './types-Dvs2F85g.js'; export { AccessToken, FoundryStorageError, FoundryStorageNotFoundError, FoundryStorageProvider, FoundryStorageProviderOptions, FoundryStorageSettings, FoundryStorageSettingsOptions, InMemoryResponseProvider, TokenCredential } from './store/index.js'; export { SseEncoderState, TextResponse, TextSource, createSseEncoderState, encodeKeepAliveComment, encodeSseEvent, startResponsesSseResponse } from './streaming/index.js'; import 'node:http'; import '@cuylabs/agent-foundry-agentserver-core'; declare function createResponsesApp(options: ResponsesServerOptions): Express; declare function runResponsesServer(options: ResponsesServerOptions): Promise; declare const AGENTSERVER_RESPONSES_PACKAGE_VERSION = "4.8.1"; declare function newId(prefix: string, partitionKeyHint?: string): string; declare function newResponseId(partitionKeyHint?: string): string; declare function newMessageItemId(partitionKeyHint?: string): string; declare function newOutputMessageItemId(partitionKeyHint?: string): string; declare function extractPartitionKey(idValue: string): string; declare function isValidId(idValue: string | undefined, allowedPrefixes?: readonly string[]): { valid: boolean; error?: string; }; declare const RESPONSE_ID_HEADER: "x-agent-response-id"; declare const SESSION_ID_HEADER: "x-agent-session-id"; declare function normalizeCreateResponse(value: unknown): CreateResponse; declare function resolveConversationId(request: Pick): string | undefined; declare function resolveResponseId(request: CreateResponse, headers: { get(name: string): string | undefined; }): string; declare function validateResponseId(responseId: string): void; declare function resolveAgentReference(value: unknown): AgentReference | undefined; declare function resolveSessionId(options: { request: CreateResponse; envSessionId?: string; agentReference?: AgentReference; }): string; declare function deriveSessionId(options: { conversationId?: string; previousResponseId?: string; agentReference?: AgentReference; }): string; declare function getInputExpanded(request: Pick, responseId: string): OutputItem[]; declare function normalizeResponseInput(input: ResponseInput | undefined): InputItem[]; declare function toOutputItem(item: InputItem, partitionHint: string): OutputItem; declare function extractTextFromItems(items: readonly OutputItem[]): string; declare function createResponseObject(options: { id: string; request: CreateResponse; status: ResponseObject["status"]; output?: OutputItem[]; error?: ResponseObject["error"]; createdAt?: number; }): ResponseObject; declare function buildResponsesOpenApiSpec(options?: { appName?: string; }): Record; export { AGENTSERVER_RESPONSES_PACKAGE_VERSION, AgentReference, CreateResponse, InputItem, OutputItem, RESPONSE_ID_HEADER, ResponseInput, ResponseObject, ResponsesServer, ResponsesServerOptions, SESSION_ID_HEADER, buildResponsesOpenApiSpec, createResponseObject, createResponsesApp, deriveSessionId, extractPartitionKey, extractTextFromItems, getInputExpanded, isValidId, newId, newMessageItemId, newOutputMessageItemId, newResponseId, normalizeCreateResponse, normalizeResponseInput, resolveAgentReference, resolveConversationId, resolveResponseId, resolveSessionId, runResponsesServer, toOutputItem, validateResponseId };