import * as PublicApi from "./types/public/index.js";
import { V3 } from "./v3.js";
import { LLMClient } from "./llm/LLMClient.js";
import { AgentProvider } from "./agent/AgentProvider.js";
import { validateZodSchema, isRunningInBun, toGeminiSchema, getZodType, transformSchema, injectUrls, loadApiKeyFromEnv, trimTrailingTextNode, jsonSchemaToZod } from "../utils.js";
import { toJsonSchema } from "./zodCompat.js";
import { V3Evaluator } from "../v3Evaluator.js";
import { tool } from "ai";
import { getAISDKLanguageModel } from "./llm/LLMProvider.js";
import { __internalCreateInMemoryAgentCacheHandle } from "./cache/serverAgentCache.js";
export { V3 } from "./v3.js";
export { V3 as Stagehand } from "./v3.js";
export * from "./types/public/index.js";
export { AnnotatedScreenshotText, LLMClient } from "./llm/LLMClient.js";
export { AgentProvider, modelToAgentProviderMap, } from "./agent/AgentProvider.js";
export type { AgentTools, AgentToolTypesMap, AgentUITools, AgentToolCall, AgentToolResult, } from "./agent/tools/index.js";
export { validateZodSchema, isRunningInBun, toGeminiSchema, getZodType, transformSchema, injectUrls, providerEnvVarMap, loadApiKeyFromEnv, trimTrailingTextNode, jsonSchemaToZod, } from "../utils.js";
export { isZod4Schema, isZod3Schema, toJsonSchema } from "./zodCompat.js";
export { connectToMCPServer } from "./mcp/connection.js";
export { V3Evaluator } from "../v3Evaluator.js";
export { tool } from "ai";
export { getAISDKLanguageModel } from "./llm/LLMProvider.js";
export { __internalCreateInMemoryAgentCacheHandle } from "./cache/serverAgentCache.js";
export { maybeRunShutdownSupervisorFromArgv as __internalMaybeRunShutdownSupervisorFromArgv } from "./shutdown/supervisor.js";
export type { ServerAgentCacheHandle } from "./cache/serverAgentCache.js";
export type { ChatMessage, ChatMessageContent, ChatMessageImageContent, ChatMessageTextContent, ChatCompletionOptions, LLMResponse, CreateChatCompletionOptions, LLMUsage, LLMParsedResponse, } from "./llm/LLMClient.js";
export type { StagehandZodSchema, StagehandZodObject, InferStagehandSchema, JsonSchemaDocument, } from "./zodCompat.js";
export type { JsonSchema, JsonSchemaProperty } from "../utils.js";
declare const StagehandDefault: {
    V3: typeof V3;
    Stagehand: typeof V3;
    AnnotatedScreenshotText: string;
    LLMClient: typeof LLMClient;
    AgentProvider: typeof AgentProvider;
    modelToAgentProviderMap: Record<string, PublicApi.AgentType>;
    validateZodSchema: typeof validateZodSchema;
    isRunningInBun: typeof isRunningInBun;
    toGeminiSchema: typeof toGeminiSchema;
    getZodType: typeof getZodType;
    transformSchema: typeof transformSchema;
    injectUrls: typeof injectUrls;
    providerEnvVarMap: Partial<Record<string, string | string[]>>;
    loadApiKeyFromEnv: typeof loadApiKeyFromEnv;
    trimTrailingTextNode: typeof trimTrailingTextNode;
    jsonSchemaToZod: typeof jsonSchemaToZod;
    isZod4Schema: (schema: import("./zodCompat.js").StagehandZodSchema) => schema is import("zod").ZodType & {
        _zod: unknown;
    };
    isZod3Schema: (schema: import("./zodCompat.js").StagehandZodSchema) => schema is import("zod/v3").ZodTypeAny;
    toJsonSchema: typeof toJsonSchema;
    connectToMCPServer: (serverConfig: string | URL | import("./mcp/connection.js").StdioServerConfig | import("./mcp/connection.js").ConnectToMCPServerOptions) => Promise<import("@modelcontextprotocol/sdk/client/index.js").Client>;
    V3Evaluator: typeof V3Evaluator;
    tool: typeof tool;
    getAISDKLanguageModel: typeof getAISDKLanguageModel;
    __internalCreateInMemoryAgentCacheHandle: typeof __internalCreateInMemoryAgentCacheHandle;
    __internalMaybeRunShutdownSupervisorFromArgv: (argv?: readonly string[]) => boolean;
    Api: typeof PublicApi.Api;
    AISdkClient: typeof PublicApi.AISdkClient;
    CustomOpenAIClient: typeof PublicApi.CustomOpenAIClient;
    AVAILABLE_CUA_MODELS: readonly ["openai/computer-use-preview", "openai/computer-use-preview-2025-03-11", "anthropic/claude-3-7-sonnet-latest", "anthropic/claude-opus-4-5-20251101", "anthropic/claude-opus-4-6", "anthropic/claude-sonnet-4-6", "anthropic/claude-haiku-4-5-20251001", "anthropic/claude-sonnet-4-20250514", "anthropic/claude-sonnet-4-5-20250929", "google/gemini-2.5-computer-use-preview-10-2025", "google/gemini-3-flash-preview", "google/gemini-3-pro-preview", "microsoft/fara-7b"];
    StagehandAPIError: typeof PublicApi.StagehandAPIError;
    StagehandAPIUnauthorizedError: typeof PublicApi.StagehandAPIUnauthorizedError;
    StagehandHttpError: typeof PublicApi.StagehandHttpError;
    StagehandServerError: typeof PublicApi.StagehandServerError;
    StagehandResponseBodyError: typeof PublicApi.StagehandResponseBodyError;
    StagehandResponseParseError: typeof PublicApi.StagehandResponseParseError;
    LOG_LEVEL_NAMES: Record<PublicApi.LogLevel, string>;
    defaultExtractSchema: import("zod").ZodObject<{
        extraction: import("zod").ZodString;
    }, import("zod/v4/core").$strip>;
    pageTextSchema: import("zod").ZodObject<{
        pageText: import("zod").ZodString;
    }, import("zod/v4/core").$strip>;
    V3FunctionName: typeof PublicApi.V3FunctionName;
    localBrowserLaunchOptionsSchema: import("zod").ZodObject<{
        args: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
        executablePath: import("zod").ZodOptional<import("zod").ZodString>;
        port: import("zod").ZodOptional<import("zod").ZodNumber>;
        userDataDir: import("zod").ZodOptional<import("zod").ZodString>;
        preserveUserDataDir: import("zod").ZodOptional<import("zod").ZodBoolean>;
        headless: import("zod").ZodOptional<import("zod").ZodBoolean>;
        devtools: import("zod").ZodOptional<import("zod").ZodBoolean>;
        chromiumSandbox: import("zod").ZodOptional<import("zod").ZodBoolean>;
        ignoreDefaultArgs: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodBoolean, import("zod").ZodArray<import("zod").ZodString>]>>;
        proxy: import("zod").ZodOptional<import("zod").ZodObject<{
            server: import("zod").ZodString;
            bypass: import("zod").ZodOptional<import("zod").ZodString>;
            username: import("zod").ZodOptional<import("zod").ZodString>;
            password: import("zod").ZodOptional<import("zod").ZodString>;
        }, import("zod/v4/core").$strip>>;
        locale: import("zod").ZodOptional<import("zod").ZodString>;
        viewport: import("zod").ZodOptional<import("zod").ZodObject<{
            width: import("zod").ZodNumber;
            height: import("zod").ZodNumber;
        }, import("zod/v4/core").$strip>>;
        deviceScaleFactor: import("zod").ZodOptional<import("zod").ZodNumber>;
        hasTouch: import("zod").ZodOptional<import("zod").ZodBoolean>;
        ignoreHTTPSErrors: import("zod").ZodOptional<import("zod").ZodBoolean>;
        cdpUrl: import("zod").ZodOptional<import("zod").ZodString>;
        connectTimeoutMs: import("zod").ZodOptional<import("zod").ZodNumber>;
        downloadsPath: import("zod").ZodOptional<import("zod").ZodString>;
        acceptDownloads: import("zod").ZodOptional<import("zod").ZodBoolean>;
    }, import("zod/v4/core").$strict>;
    ConsoleMessage: typeof PublicApi.ConsoleMessage;
    Response: typeof PublicApi.Response;
    StagehandError: typeof PublicApi.StagehandError;
    StagehandDefaultError: typeof PublicApi.StagehandDefaultError;
    StagehandEnvironmentError: typeof PublicApi.StagehandEnvironmentError;
    MissingEnvironmentVariableError: typeof PublicApi.MissingEnvironmentVariableError;
    UnsupportedModelError: typeof PublicApi.UnsupportedModelError;
    UnsupportedModelProviderError: typeof PublicApi.UnsupportedModelProviderError;
    UnsupportedAISDKModelProviderError: typeof PublicApi.UnsupportedAISDKModelProviderError;
    InvalidAISDKModelFormatError: typeof PublicApi.InvalidAISDKModelFormatError;
    StagehandNotInitializedError: typeof PublicApi.StagehandNotInitializedError;
    BrowserbaseSessionNotFoundError: typeof PublicApi.BrowserbaseSessionNotFoundError;
    CaptchaTimeoutError: typeof PublicApi.CaptchaTimeoutError;
    MissingLLMConfigurationError: typeof PublicApi.MissingLLMConfigurationError;
    HandlerNotInitializedError: typeof PublicApi.HandlerNotInitializedError;
    StagehandInvalidArgumentError: typeof PublicApi.StagehandInvalidArgumentError;
    CookieValidationError: typeof PublicApi.CookieValidationError;
    CookieSetError: typeof PublicApi.CookieSetError;
    StagehandElementNotFoundError: typeof PublicApi.StagehandElementNotFoundError;
    AgentScreenshotProviderError: typeof PublicApi.AgentScreenshotProviderError;
    StagehandMissingArgumentError: typeof PublicApi.StagehandMissingArgumentError;
    CreateChatCompletionResponseError: typeof PublicApi.CreateChatCompletionResponseError;
    StagehandEvalError: typeof PublicApi.StagehandEvalError;
    StagehandDomProcessError: typeof PublicApi.StagehandDomProcessError;
    StagehandLocatorError: typeof PublicApi.StagehandLocatorError;
    StagehandClickError: typeof PublicApi.StagehandClickError;
    LLMResponseError: typeof PublicApi.LLMResponseError;
    StagehandIframeError: typeof PublicApi.StagehandIframeError;
    ContentFrameNotFoundError: typeof PublicApi.ContentFrameNotFoundError;
    XPathResolutionError: typeof PublicApi.XPathResolutionError;
    ExperimentalApiConflictError: typeof PublicApi.ExperimentalApiConflictError;
    ExperimentalNotConfiguredError: typeof PublicApi.ExperimentalNotConfiguredError;
    CuaModelRequiredError: typeof PublicApi.CuaModelRequiredError;
    ZodSchemaValidationError: typeof PublicApi.ZodSchemaValidationError;
    StagehandInitError: typeof PublicApi.StagehandInitError;
    MCPConnectionError: typeof PublicApi.MCPConnectionError;
    StagehandShadowRootMissingError: typeof PublicApi.StagehandShadowRootMissingError;
    StagehandShadowSegmentEmptyError: typeof PublicApi.StagehandShadowSegmentEmptyError;
    StagehandShadowSegmentNotFoundError: typeof PublicApi.StagehandShadowSegmentNotFoundError;
    ElementNotVisibleError: typeof PublicApi.ElementNotVisibleError;
    ResponseBodyError: typeof PublicApi.ResponseBodyError;
    ResponseParseError: typeof PublicApi.ResponseParseError;
    TimeoutError: typeof PublicApi.TimeoutError;
    ActTimeoutError: typeof PublicApi.ActTimeoutError;
    ExtractTimeoutError: typeof PublicApi.ExtractTimeoutError;
    ObserveTimeoutError: typeof PublicApi.ObserveTimeoutError;
    PageNotFoundError: typeof PublicApi.PageNotFoundError;
    ConnectionTimeoutError: typeof PublicApi.ConnectionTimeoutError;
    StreamingCallbacksInNonStreamingModeError: typeof PublicApi.StreamingCallbacksInNonStreamingModeError;
    AgentAbortError: typeof PublicApi.AgentAbortError;
    StagehandClosedError: typeof PublicApi.StagehandClosedError;
    CdpConnectionClosedError: typeof PublicApi.CdpConnectionClosedError;
    StagehandSetExtraHTTPHeadersError: typeof PublicApi.StagehandSetExtraHTTPHeadersError;
    StagehandSnapshotError: typeof PublicApi.StagehandSnapshotError;
    UnderstudyCommandException: typeof PublicApi.UnderstudyCommandException;
};
export default StagehandDefault;
