import type { AdminUser } from "adminforth";
import { z } from "zod";
import type { AgentEventEmitter } from "../../agentEvents.js";
import type { SequenceDebugCollector } from "../middleware/sequenceDebug.js";
import type { CurrentPageContext } from "../tools/getUserLocation.js";
import type { AgentTurnContext } from "../turn/turnTypes.js";
export declare const contextSchema: z.ZodObject<{
    adminUser: z.ZodCustom<AdminUser, AdminUser>;
    userTimeZone: z.ZodString;
    sessionId: z.ZodString;
    turnId: z.ZodString;
    abortSignal: z.ZodOptional<z.ZodCustom<AbortSignal, AbortSignal>>;
    currentPage: z.ZodOptional<z.ZodCustom<CurrentPageContext, CurrentPageContext>>;
    chatSurface: z.ZodOptional<z.ZodString>;
    adminBaseUrl: z.ZodOptional<z.ZodString>;
    adminPublicOrigin: z.ZodOptional<z.ZodString>;
    emit: z.ZodOptional<z.ZodCustom<AgentEventEmitter, AgentEventEmitter>>;
    sequenceDebugSink: z.ZodCustom<SequenceDebugCollector, SequenceDebugCollector>;
}, z.core.$strip>;
export declare function toLangchainAgentContext(context: AgentTurnContext & {
    adminBaseUrl: string;
    emit?: AgentEventEmitter;
    sequenceDebugSink: SequenceDebugCollector;
}): AgentTurnContext & {
    adminBaseUrl: string;
    emit?: AgentEventEmitter;
    sequenceDebugSink: SequenceDebugCollector;
};
