import type { ChatRequestContext, ChatRuntimeOverrides } from "../../chat/types.js"; import type { InferSchema } from "../../extensions/schema/index.js"; import type { AgUiRuntimeRequest } from "../runtime/ag-ui-contract.js"; import type { ParsedHostedChatRequest, ParseHostedChatRequestOptions } from "./chat-request-parser.js"; export declare const getHostedAgUiChatForwardedConfigSchema: () => import("../../internal-agents/schema.js").Schema; projectId: import("../../internal-agents/schema.js").Schema; branchId: import("../../internal-agents/schema.js").Schema; conversationId: import("../../internal-agents/schema.js").Schema; environmentContext: import("../../internal-agents/schema.js").Schema; model: import("../../internal-agents/schema.js").Schema; allowDelegation: import("../../internal-agents/schema.js").Schema; runtimeOverrides: import("../../internal-agents/schema.js").Schema; thinking: import("../../internal-agents/schema.js").Schema; maxSteps: import("../../internal-agents/schema.js").Schema; maxOutputTokens: import("../../internal-agents/schema.js").Schema; }> | undefined>; }>>; /** Schema for agent service AG-UI chat forwarded config. * Schema for hosted AG-UI chat forwarded config. * @deprecated Use getHostedAgUiChatForwardedConfigSchema() */ export declare const hostedAgUiChatForwardedConfigSchema: import("../../internal-agents/schema.js").Schema; projectId: import("../../internal-agents/schema.js").Schema; branchId: import("../../internal-agents/schema.js").Schema; conversationId: import("../../internal-agents/schema.js").Schema; environmentContext: import("../../internal-agents/schema.js").Schema; model: import("../../internal-agents/schema.js").Schema; allowDelegation: import("../../internal-agents/schema.js").Schema; runtimeOverrides: import("../../internal-agents/schema.js").Schema; thinking: import("../../internal-agents/schema.js").Schema; maxSteps: import("../../internal-agents/schema.js").Schema; maxOutputTokens: import("../../internal-agents/schema.js").Schema; }> | undefined>; }>>; /** Configuration used by hosted AG-UI chat forwarded. */ export type HostedAgUiChatForwardedConfig = InferSchema>; /** Context for derived hosted AG-UI chat. */ export type DerivedHostedAgUiChatContext = { validatedContext: ChatRequestContext; projectId: string | null; conversationId: string | undefined; model: string | undefined; allowDelegation: boolean | undefined; runtimeOverrides: ChatRuntimeOverrides | undefined; }; /** Request payload for parsed hosted AG-UI. */ export type ParsedHostedAgUiRequest = ParsedHostedChatRequest & { agUiInput: AgUiRuntimeRequest; }; /** Options accepted by build parsed hosted AG-UI request. */ export type BuildParsedHostedAgUiRequestOptions = { agUiInput: AgUiRuntimeRequest; authToken: string; userId: string; forwardedConfigNamespace?: string; verifyProjectAccess?: ParseHostedChatRequestOptions["verifyProjectAccess"]; }; /** Context for derive hosted AG-UI chat. */ export declare function deriveHostedAgUiChatContext(agUiInput: AgUiRuntimeRequest, options?: { forwardedConfigNamespace?: string; }): DerivedHostedAgUiChatContext; /** Response payload for create hosted AG-UI validation error. */ export declare function createHostedAgUiValidationErrorResponse(response: Response): Promise; /** Request payload for build parsed hosted AG-UI. */ export declare function buildParsedHostedAgUiRequest(input: BuildParsedHostedAgUiRequestOptions): Promise; //# sourceMappingURL=ag-ui-chat-request.d.ts.map