/**
 * Legacy routes that are deprecated but still exist in deployer for backward compatibility.
 * These routes should not be used in new code and will be removed in a future version.
 */
export declare const LEGACY_ROUTES: readonly [import(".").ServerRoute<import(".").InferParams<import("zod").ZodObject<{
    agentId: import("zod").ZodString;
}, import("zod/v4/core").$strip>, undefined, import("zod").ZodObject<{
    messages: import("zod").ZodUnion<readonly [import("zod").ZodArray<import("zod").ZodAny>, import("zod").ZodString]>;
    instructions: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString>, import("zod").ZodAny, import("zod").ZodArray<import("zod").ZodAny>]>>;
    system: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString>, import("zod").ZodAny, import("zod").ZodArray<import("zod").ZodAny>]>>;
    context: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodAny>>;
    memory: import("zod").ZodOptional<import("zod").ZodObject<{
        thread: import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodObject<{
            id: import("zod").ZodString;
        }, import("zod/v4/core").$loose>]>;
        resource: import("zod").ZodString;
        options: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodAny>>;
        readOnly: import("zod").ZodOptional<import("zod").ZodBoolean>;
    }, import("zod/v4/core").$strip>>;
    runId: import("zod").ZodOptional<import("zod").ZodString>;
    savePerStep: import("zod").ZodOptional<import("zod").ZodBoolean>;
    requestContext: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodAny>>;
    versions: import("zod").ZodOptional<import("zod").ZodObject<{
        agents: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<readonly [import("zod").ZodObject<{
            versionId: import("zod").ZodString;
        }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
            status: import("zod").ZodEnum<{
                draft: "draft";
                published: "published";
            }>;
        }, import("zod/v4/core").$strip>]>>>;
    }, import("zod/v4/core").$strip>>;
    maxSteps: import("zod").ZodOptional<import("zod").ZodNumber>;
    stopWhen: import("zod").ZodOptional<import("zod").ZodAny>;
    providerOptions: import("zod").ZodOptional<import("zod").ZodObject<{
        anthropic: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodAny>>;
        google: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodAny>>;
        openai: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodAny>>;
        xai: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodAny>>;
    }, import("zod/v4/core").$strip>>;
    modelSettings: import("zod").ZodOptional<import("zod").ZodAny>;
    activeTools: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
    toolsets: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodAny>>;
    clientTools: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodAny>>;
    toolChoice: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodEnum<{
        auto: "auto";
        none: "none";
        required: "required";
    }>, import("zod").ZodObject<{
        type: import("zod").ZodLiteral<"tool">;
        toolName: import("zod").ZodString;
    }, import("zod/v4/core").$strip>]>>;
    requireToolApproval: import("zod").ZodOptional<import("zod").ZodBoolean>;
    scorers: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodAny>, import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
        scorer: import("zod").ZodString;
        sampling: import("zod").ZodOptional<import("zod").ZodAny>;
    }, import("zod/v4/core").$strip>>]>>;
    returnScorerData: import("zod").ZodOptional<import("zod").ZodBoolean>;
    tracingOptions: import("zod").ZodOptional<import("zod").ZodObject<{
        metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
        requestContextKeys: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
        traceId: import("zod").ZodOptional<import("zod").ZodString>;
        parentSpanId: import("zod").ZodOptional<import("zod").ZodString>;
        tags: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
        hideInput: import("zod").ZodOptional<import("zod").ZodBoolean>;
        hideOutput: import("zod").ZodOptional<import("zod").ZodBoolean>;
    }, import("zod/v4/core").$strip>>;
    output: import("zod").ZodOptional<import("zod").ZodAny>;
    structuredOutput: import("zod").ZodOptional<import("zod").ZodObject<{
        schema: import("zod").ZodObject<{}, import("zod/v4/core").$loose>;
        model: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodAny]>>;
        instructions: import("zod").ZodOptional<import("zod").ZodString>;
        jsonPromptInjection: import("zod").ZodOptional<import("zod").ZodBoolean>;
        errorStrategy: import("zod").ZodOptional<import("zod").ZodEnum<{
            warn: "warn";
            strict: "strict";
            fallback: "fallback";
        }>>;
        fallbackValue: import("zod").ZodOptional<import("zod").ZodAny>;
    }, import("zod/v4/core").$strip>>;
    resourceId: import("zod").ZodOptional<import("zod").ZodString>;
    resourceid: import("zod").ZodOptional<import("zod").ZodString>;
    threadId: import("zod").ZodOptional<import("zod").ZodString>;
}, import("zod/v4/core").$loose>>, any, "json", import(".").RouteSchemas<import("zod").ZodObject<{
    agentId: import("zod").ZodString;
}, import("zod/v4/core").$strip>, undefined, import("zod").ZodObject<{
    messages: import("zod").ZodUnion<readonly [import("zod").ZodArray<import("zod").ZodAny>, import("zod").ZodString]>;
    instructions: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString>, import("zod").ZodAny, import("zod").ZodArray<import("zod").ZodAny>]>>;
    system: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString>, import("zod").ZodAny, import("zod").ZodArray<import("zod").ZodAny>]>>;
    context: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodAny>>;
    memory: import("zod").ZodOptional<import("zod").ZodObject<{
        thread: import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodObject<{
            id: import("zod").ZodString;
        }, import("zod/v4/core").$loose>]>;
        resource: import("zod").ZodString;
        options: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodAny>>;
        readOnly: import("zod").ZodOptional<import("zod").ZodBoolean>;
    }, import("zod/v4/core").$strip>>;
    runId: import("zod").ZodOptional<import("zod").ZodString>;
    savePerStep: import("zod").ZodOptional<import("zod").ZodBoolean>;
    requestContext: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodAny>>;
    versions: import("zod").ZodOptional<import("zod").ZodObject<{
        agents: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<readonly [import("zod").ZodObject<{
            versionId: import("zod").ZodString;
        }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
            status: import("zod").ZodEnum<{
                draft: "draft";
                published: "published";
            }>;
        }, import("zod/v4/core").$strip>]>>>;
    }, import("zod/v4/core").$strip>>;
    maxSteps: import("zod").ZodOptional<import("zod").ZodNumber>;
    stopWhen: import("zod").ZodOptional<import("zod").ZodAny>;
    providerOptions: import("zod").ZodOptional<import("zod").ZodObject<{
        anthropic: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodAny>>;
        google: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodAny>>;
        openai: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodAny>>;
        xai: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodAny>>;
    }, import("zod/v4/core").$strip>>;
    modelSettings: import("zod").ZodOptional<import("zod").ZodAny>;
    activeTools: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
    toolsets: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodAny>>;
    clientTools: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodAny>>;
    toolChoice: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodEnum<{
        auto: "auto";
        none: "none";
        required: "required";
    }>, import("zod").ZodObject<{
        type: import("zod").ZodLiteral<"tool">;
        toolName: import("zod").ZodString;
    }, import("zod/v4/core").$strip>]>>;
    requireToolApproval: import("zod").ZodOptional<import("zod").ZodBoolean>;
    scorers: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodAny>, import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
        scorer: import("zod").ZodString;
        sampling: import("zod").ZodOptional<import("zod").ZodAny>;
    }, import("zod/v4/core").$strip>>]>>;
    returnScorerData: import("zod").ZodOptional<import("zod").ZodBoolean>;
    tracingOptions: import("zod").ZodOptional<import("zod").ZodObject<{
        metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
        requestContextKeys: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
        traceId: import("zod").ZodOptional<import("zod").ZodString>;
        parentSpanId: import("zod").ZodOptional<import("zod").ZodString>;
        tags: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
        hideInput: import("zod").ZodOptional<import("zod").ZodBoolean>;
        hideOutput: import("zod").ZodOptional<import("zod").ZodBoolean>;
    }, import("zod/v4/core").$strip>>;
    output: import("zod").ZodOptional<import("zod").ZodAny>;
    structuredOutput: import("zod").ZodOptional<import("zod").ZodObject<{
        schema: import("zod").ZodObject<{}, import("zod/v4/core").$loose>;
        model: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodAny]>>;
        instructions: import("zod").ZodOptional<import("zod").ZodString>;
        jsonPromptInjection: import("zod").ZodOptional<import("zod").ZodBoolean>;
        errorStrategy: import("zod").ZodOptional<import("zod").ZodEnum<{
            warn: "warn";
            strict: "strict";
            fallback: "fallback";
        }>>;
        fallbackValue: import("zod").ZodOptional<import("zod").ZodAny>;
    }, import("zod/v4/core").$strip>>;
    resourceId: import("zod").ZodOptional<import("zod").ZodString>;
    resourceid: import("zod").ZodOptional<import("zod").ZodString>;
    threadId: import("zod").ZodOptional<import("zod").ZodString>;
}, import("zod/v4/core").$loose>, import("zod").ZodAny>, "POST", "/agents/:agentId/generate-legacy">, import(".").ServerRoute<import(".").InferParams<import("zod").ZodObject<{
    agentId: import("zod").ZodString;
}, import("zod/v4/core").$strip>, undefined, import("zod").ZodObject<{
    messages: import("zod").ZodUnion<readonly [import("zod").ZodArray<import("zod").ZodAny>, import("zod").ZodString]>;
    instructions: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString>, import("zod").ZodAny, import("zod").ZodArray<import("zod").ZodAny>]>>;
    system: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString>, import("zod").ZodAny, import("zod").ZodArray<import("zod").ZodAny>]>>;
    context: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodAny>>;
    memory: import("zod").ZodOptional<import("zod").ZodObject<{
        thread: import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodObject<{
            id: import("zod").ZodString;
        }, import("zod/v4/core").$loose>]>;
        resource: import("zod").ZodString;
        options: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodAny>>;
        readOnly: import("zod").ZodOptional<import("zod").ZodBoolean>;
    }, import("zod/v4/core").$strip>>;
    runId: import("zod").ZodOptional<import("zod").ZodString>;
    savePerStep: import("zod").ZodOptional<import("zod").ZodBoolean>;
    requestContext: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodAny>>;
    versions: import("zod").ZodOptional<import("zod").ZodObject<{
        agents: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<readonly [import("zod").ZodObject<{
            versionId: import("zod").ZodString;
        }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
            status: import("zod").ZodEnum<{
                draft: "draft";
                published: "published";
            }>;
        }, import("zod/v4/core").$strip>]>>>;
    }, import("zod/v4/core").$strip>>;
    maxSteps: import("zod").ZodOptional<import("zod").ZodNumber>;
    stopWhen: import("zod").ZodOptional<import("zod").ZodAny>;
    providerOptions: import("zod").ZodOptional<import("zod").ZodObject<{
        anthropic: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodAny>>;
        google: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodAny>>;
        openai: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodAny>>;
        xai: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodAny>>;
    }, import("zod/v4/core").$strip>>;
    modelSettings: import("zod").ZodOptional<import("zod").ZodAny>;
    activeTools: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
    toolsets: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodAny>>;
    clientTools: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodAny>>;
    toolChoice: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodEnum<{
        auto: "auto";
        none: "none";
        required: "required";
    }>, import("zod").ZodObject<{
        type: import("zod").ZodLiteral<"tool">;
        toolName: import("zod").ZodString;
    }, import("zod/v4/core").$strip>]>>;
    requireToolApproval: import("zod").ZodOptional<import("zod").ZodBoolean>;
    scorers: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodAny>, import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
        scorer: import("zod").ZodString;
        sampling: import("zod").ZodOptional<import("zod").ZodAny>;
    }, import("zod/v4/core").$strip>>]>>;
    returnScorerData: import("zod").ZodOptional<import("zod").ZodBoolean>;
    tracingOptions: import("zod").ZodOptional<import("zod").ZodObject<{
        metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
        requestContextKeys: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
        traceId: import("zod").ZodOptional<import("zod").ZodString>;
        parentSpanId: import("zod").ZodOptional<import("zod").ZodString>;
        tags: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
        hideInput: import("zod").ZodOptional<import("zod").ZodBoolean>;
        hideOutput: import("zod").ZodOptional<import("zod").ZodBoolean>;
    }, import("zod/v4/core").$strip>>;
    output: import("zod").ZodOptional<import("zod").ZodAny>;
    structuredOutput: import("zod").ZodOptional<import("zod").ZodObject<{
        schema: import("zod").ZodObject<{}, import("zod/v4/core").$loose>;
        model: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodAny]>>;
        instructions: import("zod").ZodOptional<import("zod").ZodString>;
        jsonPromptInjection: import("zod").ZodOptional<import("zod").ZodBoolean>;
        errorStrategy: import("zod").ZodOptional<import("zod").ZodEnum<{
            warn: "warn";
            strict: "strict";
            fallback: "fallback";
        }>>;
        fallbackValue: import("zod").ZodOptional<import("zod").ZodAny>;
    }, import("zod/v4/core").$strip>>;
    resourceId: import("zod").ZodOptional<import("zod").ZodString>;
    resourceid: import("zod").ZodOptional<import("zod").ZodString>;
    threadId: import("zod").ZodOptional<import("zod").ZodString>;
}, import("zod/v4/core").$loose>>, any, "datastream-response", import(".").RouteSchemas<import("zod").ZodObject<{
    agentId: import("zod").ZodString;
}, import("zod/v4/core").$strip>, undefined, import("zod").ZodObject<{
    messages: import("zod").ZodUnion<readonly [import("zod").ZodArray<import("zod").ZodAny>, import("zod").ZodString]>;
    instructions: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString>, import("zod").ZodAny, import("zod").ZodArray<import("zod").ZodAny>]>>;
    system: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString>, import("zod").ZodAny, import("zod").ZodArray<import("zod").ZodAny>]>>;
    context: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodAny>>;
    memory: import("zod").ZodOptional<import("zod").ZodObject<{
        thread: import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodObject<{
            id: import("zod").ZodString;
        }, import("zod/v4/core").$loose>]>;
        resource: import("zod").ZodString;
        options: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodAny>>;
        readOnly: import("zod").ZodOptional<import("zod").ZodBoolean>;
    }, import("zod/v4/core").$strip>>;
    runId: import("zod").ZodOptional<import("zod").ZodString>;
    savePerStep: import("zod").ZodOptional<import("zod").ZodBoolean>;
    requestContext: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodAny>>;
    versions: import("zod").ZodOptional<import("zod").ZodObject<{
        agents: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<readonly [import("zod").ZodObject<{
            versionId: import("zod").ZodString;
        }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
            status: import("zod").ZodEnum<{
                draft: "draft";
                published: "published";
            }>;
        }, import("zod/v4/core").$strip>]>>>;
    }, import("zod/v4/core").$strip>>;
    maxSteps: import("zod").ZodOptional<import("zod").ZodNumber>;
    stopWhen: import("zod").ZodOptional<import("zod").ZodAny>;
    providerOptions: import("zod").ZodOptional<import("zod").ZodObject<{
        anthropic: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodAny>>;
        google: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodAny>>;
        openai: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodAny>>;
        xai: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodAny>>;
    }, import("zod/v4/core").$strip>>;
    modelSettings: import("zod").ZodOptional<import("zod").ZodAny>;
    activeTools: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
    toolsets: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodAny>>;
    clientTools: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodAny>>;
    toolChoice: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodEnum<{
        auto: "auto";
        none: "none";
        required: "required";
    }>, import("zod").ZodObject<{
        type: import("zod").ZodLiteral<"tool">;
        toolName: import("zod").ZodString;
    }, import("zod/v4/core").$strip>]>>;
    requireToolApproval: import("zod").ZodOptional<import("zod").ZodBoolean>;
    scorers: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodAny>, import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
        scorer: import("zod").ZodString;
        sampling: import("zod").ZodOptional<import("zod").ZodAny>;
    }, import("zod/v4/core").$strip>>]>>;
    returnScorerData: import("zod").ZodOptional<import("zod").ZodBoolean>;
    tracingOptions: import("zod").ZodOptional<import("zod").ZodObject<{
        metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
        requestContextKeys: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
        traceId: import("zod").ZodOptional<import("zod").ZodString>;
        parentSpanId: import("zod").ZodOptional<import("zod").ZodString>;
        tags: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
        hideInput: import("zod").ZodOptional<import("zod").ZodBoolean>;
        hideOutput: import("zod").ZodOptional<import("zod").ZodBoolean>;
    }, import("zod/v4/core").$strip>>;
    output: import("zod").ZodOptional<import("zod").ZodAny>;
    structuredOutput: import("zod").ZodOptional<import("zod").ZodObject<{
        schema: import("zod").ZodObject<{}, import("zod/v4/core").$loose>;
        model: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodAny]>>;
        instructions: import("zod").ZodOptional<import("zod").ZodString>;
        jsonPromptInjection: import("zod").ZodOptional<import("zod").ZodBoolean>;
        errorStrategy: import("zod").ZodOptional<import("zod").ZodEnum<{
            warn: "warn";
            strict: "strict";
            fallback: "fallback";
        }>>;
        fallbackValue: import("zod").ZodOptional<import("zod").ZodAny>;
    }, import("zod/v4/core").$strip>>;
    resourceId: import("zod").ZodOptional<import("zod").ZodString>;
    resourceid: import("zod").ZodOptional<import("zod").ZodString>;
    threadId: import("zod").ZodOptional<import("zod").ZodString>;
}, import("zod/v4/core").$loose>, import("zod").ZodAny>, "POST", "/agents/:agentId/stream-legacy">, import(".").ServerRoute<import(".").InferParams<import("zod").ZodObject<{
    workflowId: import("zod").ZodString;
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
    runId: import("zod").ZodString;
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
    resourceId: import("zod").ZodOptional<import("zod").ZodString>;
    inputData: import("zod").ZodOptional<import("zod").ZodUnknown>;
    initialState: import("zod").ZodOptional<import("zod").ZodUnknown>;
    requestContext: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
    tracingOptions: import("zod").ZodOptional<import("zod").ZodObject<{
        metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
        requestContextKeys: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
        traceId: import("zod").ZodOptional<import("zod").ZodString>;
        parentSpanId: import("zod").ZodOptional<import("zod").ZodString>;
        tags: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
        hideInput: import("zod").ZodOptional<import("zod").ZodBoolean>;
        hideOutput: import("zod").ZodOptional<import("zod").ZodBoolean>;
    }, import("zod/v4/core").$strip>>;
    perStep: import("zod").ZodOptional<import("zod").ZodBoolean>;
    closeOnSuspend: import("zod").ZodOptional<import("zod").ZodBoolean>;
}, import("zod/v4/core").$strip>>, any, "stream", import(".").RouteSchemas<import("zod").ZodObject<{
    workflowId: import("zod").ZodString;
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
    runId: import("zod").ZodString;
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
    resourceId: import("zod").ZodOptional<import("zod").ZodString>;
    inputData: import("zod").ZodOptional<import("zod").ZodUnknown>;
    initialState: import("zod").ZodOptional<import("zod").ZodUnknown>;
    requestContext: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
    tracingOptions: import("zod").ZodOptional<import("zod").ZodObject<{
        metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
        requestContextKeys: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
        traceId: import("zod").ZodOptional<import("zod").ZodString>;
        parentSpanId: import("zod").ZodOptional<import("zod").ZodString>;
        tags: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
        hideInput: import("zod").ZodOptional<import("zod").ZodBoolean>;
        hideOutput: import("zod").ZodOptional<import("zod").ZodBoolean>;
    }, import("zod/v4/core").$strip>>;
    perStep: import("zod").ZodOptional<import("zod").ZodBoolean>;
    closeOnSuspend: import("zod").ZodOptional<import("zod").ZodBoolean>;
}, import("zod/v4/core").$strip>, import("zod").ZodAny>, "POST", "/workflows/:workflowId/stream-legacy">, import(".").ServerRoute<import(".").InferParams<import("zod").ZodObject<{
    workflowId: import("zod").ZodString;
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
    runId: import("zod").ZodString;
}, import("zod/v4/core").$strip>, undefined>, any, "stream", import(".").RouteSchemas<import("zod").ZodObject<{
    workflowId: import("zod").ZodString;
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
    runId: import("zod").ZodString;
}, import("zod/v4/core").$strip>, undefined, import("zod").ZodAny>, "POST", "/workflows/:workflowId/observe-stream-legacy">, import(".").ServerRoute<import(".").InferParams<import("zod").ZodObject<{
    actionId: import("zod").ZodString;
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
    runId: import("zod").ZodString;
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
    resourceId: import("zod").ZodOptional<import("zod").ZodString>;
    inputData: import("zod").ZodOptional<import("zod").ZodUnknown>;
    initialState: import("zod").ZodOptional<import("zod").ZodUnknown>;
    requestContext: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
    tracingOptions: import("zod").ZodOptional<import("zod").ZodObject<{
        metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
        requestContextKeys: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
        traceId: import("zod").ZodOptional<import("zod").ZodString>;
        parentSpanId: import("zod").ZodOptional<import("zod").ZodString>;
        tags: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
        hideInput: import("zod").ZodOptional<import("zod").ZodBoolean>;
        hideOutput: import("zod").ZodOptional<import("zod").ZodBoolean>;
    }, import("zod/v4/core").$strip>>;
    perStep: import("zod").ZodOptional<import("zod").ZodBoolean>;
}, import("zod/v4/core").$strip>>, any, "stream", import(".").RouteSchemas<import("zod").ZodObject<{
    actionId: import("zod").ZodString;
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
    runId: import("zod").ZodString;
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
    resourceId: import("zod").ZodOptional<import("zod").ZodString>;
    inputData: import("zod").ZodOptional<import("zod").ZodUnknown>;
    initialState: import("zod").ZodOptional<import("zod").ZodUnknown>;
    requestContext: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
    tracingOptions: import("zod").ZodOptional<import("zod").ZodObject<{
        metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
        requestContextKeys: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
        traceId: import("zod").ZodOptional<import("zod").ZodString>;
        parentSpanId: import("zod").ZodOptional<import("zod").ZodString>;
        tags: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
        hideInput: import("zod").ZodOptional<import("zod").ZodBoolean>;
        hideOutput: import("zod").ZodOptional<import("zod").ZodBoolean>;
    }, import("zod/v4/core").$strip>>;
    perStep: import("zod").ZodOptional<import("zod").ZodBoolean>;
}, import("zod/v4/core").$strip>, import("zod").ZodAny>, "POST", "/agent-builder/:actionId/stream-legacy">, import(".").ServerRoute<import(".").InferParams<import("zod").ZodObject<{
    actionId: import("zod").ZodString;
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
    runId: import("zod").ZodString;
}, import("zod/v4/core").$strip>, undefined>, any, "stream", import(".").RouteSchemas<import("zod").ZodObject<{
    actionId: import("zod").ZodString;
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
    runId: import("zod").ZodString;
}, import("zod/v4/core").$strip>, undefined, import("zod").ZodAny>, "POST", "/agent-builder/:actionId/observe-stream-legacy">];
//# sourceMappingURL=legacy.d.ts.map