import z from 'zod';
export declare const agentIdPathParams: z.ZodObject<{
    agentId: z.ZodString;
}, "strip", z.ZodTypeAny, {
    agentId: string;
}, {
    agentId: string;
}>;
export declare const toolIdPathParams: z.ZodObject<{
    toolId: z.ZodString;
}, "strip", z.ZodTypeAny, {
    toolId: string;
}, {
    toolId: string;
}>;
export declare const agentToolPathParams: z.ZodObject<{
    agentId: z.ZodString;
} & {
    toolId: z.ZodString;
}, "strip", z.ZodTypeAny, {
    agentId: string;
    toolId: string;
}, {
    agentId: string;
    toolId: string;
}>;
export declare const agentSkillPathParams: z.ZodObject<{
    agentId: z.ZodString;
} & {
    skillName: z.ZodString;
}, "strip", z.ZodTypeAny, {
    agentId: string;
    skillName: string;
}, {
    agentId: string;
    skillName: string;
}>;
export declare const modelConfigIdPathParams: z.ZodObject<{
    agentId: z.ZodString;
} & {
    modelConfigId: z.ZodString;
}, "strip", z.ZodTypeAny, {
    agentId: string;
    modelConfigId: string;
}, {
    agentId: string;
    modelConfigId: string;
}>;
/**
 * Schema for serialized processor metadata
 */
export declare const serializedProcessorSchema: z.ZodObject<{
    id: z.ZodString;
    name: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
    id: string;
    name?: string | undefined;
}, {
    id: string;
    name?: string | undefined;
}>;
/**
 * Schema for serialized tool with JSON schemas
 * Uses passthrough() to allow additional tool properties beyond core fields
 */
export declare const serializedToolSchema: z.ZodObject<{
    id: z.ZodString;
    description: z.ZodOptional<z.ZodString>;
    inputSchema: z.ZodOptional<z.ZodString>;
    outputSchema: z.ZodOptional<z.ZodString>;
    requireApproval: z.ZodOptional<z.ZodBoolean>;
}, "strip", z.ZodTypeAny, {
    id: string;
    requireApproval?: boolean | undefined;
    description?: string | undefined;
    inputSchema?: string | undefined;
    outputSchema?: string | undefined;
}, {
    id: string;
    requireApproval?: boolean | undefined;
    description?: string | undefined;
    inputSchema?: string | undefined;
    outputSchema?: string | undefined;
}>;
/**
 * Schema for serialized workflow with steps
 */
export declare const serializedWorkflowSchema: z.ZodObject<{
    name: z.ZodString;
    steps: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
        id: z.ZodString;
        description: z.ZodOptional<z.ZodString>;
    }, "strip", z.ZodTypeAny, {
        id: string;
        description?: string | undefined;
    }, {
        id: string;
        description?: string | undefined;
    }>>>;
}, "strip", z.ZodTypeAny, {
    name: string;
    steps?: Record<string, {
        id: string;
        description?: string | undefined;
    }> | undefined;
}, {
    name: string;
    steps?: Record<string, {
        id: string;
        description?: string | undefined;
    }> | undefined;
}>;
/**
 * Schema for serialized agent definition (referenced by other agents)
 */
export declare const serializedAgentDefinitionSchema: z.ZodObject<{
    id: z.ZodString;
    name: z.ZodString;
}, "strip", z.ZodTypeAny, {
    name: string;
    id: string;
}, {
    name: string;
    id: string;
}>;
/**
 * Main schema for serialized agent representation
 */
export declare const serializedAgentSchema: z.ZodObject<{
    name: z.ZodString;
    description: z.ZodOptional<z.ZodString>;
    instructions: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">, z.ZodAny, z.ZodArray<z.ZodAny, "many">]>>;
    tools: z.ZodRecord<z.ZodString, z.ZodObject<{
        id: z.ZodString;
        description: z.ZodOptional<z.ZodString>;
        inputSchema: z.ZodOptional<z.ZodString>;
        outputSchema: z.ZodOptional<z.ZodString>;
        requireApproval: z.ZodOptional<z.ZodBoolean>;
    }, "strip", z.ZodTypeAny, {
        id: string;
        requireApproval?: boolean | undefined;
        description?: string | undefined;
        inputSchema?: string | undefined;
        outputSchema?: string | undefined;
    }, {
        id: string;
        requireApproval?: boolean | undefined;
        description?: string | undefined;
        inputSchema?: string | undefined;
        outputSchema?: string | undefined;
    }>>;
    agents: z.ZodRecord<z.ZodString, z.ZodObject<{
        id: z.ZodString;
        name: z.ZodString;
    }, "strip", z.ZodTypeAny, {
        name: string;
        id: string;
    }, {
        name: string;
        id: string;
    }>>;
    workflows: z.ZodRecord<z.ZodString, z.ZodObject<{
        name: z.ZodString;
        steps: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
            id: z.ZodString;
            description: z.ZodOptional<z.ZodString>;
        }, "strip", z.ZodTypeAny, {
            id: string;
            description?: string | undefined;
        }, {
            id: string;
            description?: string | undefined;
        }>>>;
    }, "strip", z.ZodTypeAny, {
        name: string;
        steps?: Record<string, {
            id: string;
            description?: string | undefined;
        }> | undefined;
    }, {
        name: string;
        steps?: Record<string, {
            id: string;
            description?: string | undefined;
        }> | undefined;
    }>>;
    inputProcessors: z.ZodArray<z.ZodObject<{
        id: z.ZodString;
        name: z.ZodOptional<z.ZodString>;
    }, "strip", z.ZodTypeAny, {
        id: string;
        name?: string | undefined;
    }, {
        id: string;
        name?: string | undefined;
    }>, "many">;
    outputProcessors: z.ZodArray<z.ZodObject<{
        id: z.ZodString;
        name: z.ZodOptional<z.ZodString>;
    }, "strip", z.ZodTypeAny, {
        id: string;
        name?: string | undefined;
    }, {
        id: string;
        name?: string | undefined;
    }>, "many">;
    provider: z.ZodOptional<z.ZodString>;
    modelId: z.ZodOptional<z.ZodString>;
    modelVersion: z.ZodOptional<z.ZodString>;
    modelList: z.ZodOptional<z.ZodArray<z.ZodObject<{
        model: z.ZodObject<{
            modelId: z.ZodString;
            provider: z.ZodString;
            modelVersion: z.ZodString;
        }, "strip", z.ZodTypeAny, {
            modelId: string;
            provider: string;
            modelVersion: string;
        }, {
            modelId: string;
            provider: string;
            modelVersion: string;
        }>;
    }, "strip", z.ZodTypeAny, {
        model: {
            modelId: string;
            provider: string;
            modelVersion: string;
        };
    }, {
        model: {
            modelId: string;
            provider: string;
            modelVersion: string;
        };
    }>, "many">>;
    defaultOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
    defaultGenerateOptionsLegacy: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
    defaultStreamOptionsLegacy: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
}, "strip", z.ZodTypeAny, {
    name: string;
    tools: Record<string, {
        id: string;
        requireApproval?: boolean | undefined;
        description?: string | undefined;
        inputSchema?: string | undefined;
        outputSchema?: string | undefined;
    }>;
    agents: Record<string, {
        name: string;
        id: string;
    }>;
    workflows: Record<string, {
        name: string;
        steps?: Record<string, {
            id: string;
            description?: string | undefined;
        }> | undefined;
    }>;
    inputProcessors: {
        id: string;
        name?: string | undefined;
    }[];
    outputProcessors: {
        id: string;
        name?: string | undefined;
    }[];
    description?: string | undefined;
    modelId?: string | undefined;
    provider?: string | undefined;
    modelVersion?: string | undefined;
    instructions?: any;
    modelList?: {
        model: {
            modelId: string;
            provider: string;
            modelVersion: string;
        };
    }[] | undefined;
    defaultOptions?: Record<string, any> | undefined;
    defaultGenerateOptionsLegacy?: Record<string, any> | undefined;
    defaultStreamOptionsLegacy?: Record<string, any> | undefined;
}, {
    name: string;
    tools: Record<string, {
        id: string;
        requireApproval?: boolean | undefined;
        description?: string | undefined;
        inputSchema?: string | undefined;
        outputSchema?: string | undefined;
    }>;
    agents: Record<string, {
        name: string;
        id: string;
    }>;
    workflows: Record<string, {
        name: string;
        steps?: Record<string, {
            id: string;
            description?: string | undefined;
        }> | undefined;
    }>;
    inputProcessors: {
        id: string;
        name?: string | undefined;
    }[];
    outputProcessors: {
        id: string;
        name?: string | undefined;
    }[];
    description?: string | undefined;
    modelId?: string | undefined;
    provider?: string | undefined;
    modelVersion?: string | undefined;
    instructions?: any;
    modelList?: {
        model: {
            modelId: string;
            provider: string;
            modelVersion: string;
        };
    }[] | undefined;
    defaultOptions?: Record<string, any> | undefined;
    defaultGenerateOptionsLegacy?: Record<string, any> | undefined;
    defaultStreamOptionsLegacy?: Record<string, any> | undefined;
}>;
/**
 * Schema for agent with ID
 */
export declare const serializedAgentWithIdSchema: z.ZodObject<{
    name: z.ZodString;
    description: z.ZodOptional<z.ZodString>;
    instructions: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">, z.ZodAny, z.ZodArray<z.ZodAny, "many">]>>;
    tools: z.ZodRecord<z.ZodString, z.ZodObject<{
        id: z.ZodString;
        description: z.ZodOptional<z.ZodString>;
        inputSchema: z.ZodOptional<z.ZodString>;
        outputSchema: z.ZodOptional<z.ZodString>;
        requireApproval: z.ZodOptional<z.ZodBoolean>;
    }, "strip", z.ZodTypeAny, {
        id: string;
        requireApproval?: boolean | undefined;
        description?: string | undefined;
        inputSchema?: string | undefined;
        outputSchema?: string | undefined;
    }, {
        id: string;
        requireApproval?: boolean | undefined;
        description?: string | undefined;
        inputSchema?: string | undefined;
        outputSchema?: string | undefined;
    }>>;
    agents: z.ZodRecord<z.ZodString, z.ZodObject<{
        id: z.ZodString;
        name: z.ZodString;
    }, "strip", z.ZodTypeAny, {
        name: string;
        id: string;
    }, {
        name: string;
        id: string;
    }>>;
    workflows: z.ZodRecord<z.ZodString, z.ZodObject<{
        name: z.ZodString;
        steps: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
            id: z.ZodString;
            description: z.ZodOptional<z.ZodString>;
        }, "strip", z.ZodTypeAny, {
            id: string;
            description?: string | undefined;
        }, {
            id: string;
            description?: string | undefined;
        }>>>;
    }, "strip", z.ZodTypeAny, {
        name: string;
        steps?: Record<string, {
            id: string;
            description?: string | undefined;
        }> | undefined;
    }, {
        name: string;
        steps?: Record<string, {
            id: string;
            description?: string | undefined;
        }> | undefined;
    }>>;
    inputProcessors: z.ZodArray<z.ZodObject<{
        id: z.ZodString;
        name: z.ZodOptional<z.ZodString>;
    }, "strip", z.ZodTypeAny, {
        id: string;
        name?: string | undefined;
    }, {
        id: string;
        name?: string | undefined;
    }>, "many">;
    outputProcessors: z.ZodArray<z.ZodObject<{
        id: z.ZodString;
        name: z.ZodOptional<z.ZodString>;
    }, "strip", z.ZodTypeAny, {
        id: string;
        name?: string | undefined;
    }, {
        id: string;
        name?: string | undefined;
    }>, "many">;
    provider: z.ZodOptional<z.ZodString>;
    modelId: z.ZodOptional<z.ZodString>;
    modelVersion: z.ZodOptional<z.ZodString>;
    modelList: z.ZodOptional<z.ZodArray<z.ZodObject<{
        model: z.ZodObject<{
            modelId: z.ZodString;
            provider: z.ZodString;
            modelVersion: z.ZodString;
        }, "strip", z.ZodTypeAny, {
            modelId: string;
            provider: string;
            modelVersion: string;
        }, {
            modelId: string;
            provider: string;
            modelVersion: string;
        }>;
    }, "strip", z.ZodTypeAny, {
        model: {
            modelId: string;
            provider: string;
            modelVersion: string;
        };
    }, {
        model: {
            modelId: string;
            provider: string;
            modelVersion: string;
        };
    }>, "many">>;
    defaultOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
    defaultGenerateOptionsLegacy: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
    defaultStreamOptionsLegacy: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
} & {
    id: z.ZodString;
}, "strip", z.ZodTypeAny, {
    name: string;
    id: string;
    tools: Record<string, {
        id: string;
        requireApproval?: boolean | undefined;
        description?: string | undefined;
        inputSchema?: string | undefined;
        outputSchema?: string | undefined;
    }>;
    agents: Record<string, {
        name: string;
        id: string;
    }>;
    workflows: Record<string, {
        name: string;
        steps?: Record<string, {
            id: string;
            description?: string | undefined;
        }> | undefined;
    }>;
    inputProcessors: {
        id: string;
        name?: string | undefined;
    }[];
    outputProcessors: {
        id: string;
        name?: string | undefined;
    }[];
    description?: string | undefined;
    modelId?: string | undefined;
    provider?: string | undefined;
    modelVersion?: string | undefined;
    instructions?: any;
    modelList?: {
        model: {
            modelId: string;
            provider: string;
            modelVersion: string;
        };
    }[] | undefined;
    defaultOptions?: Record<string, any> | undefined;
    defaultGenerateOptionsLegacy?: Record<string, any> | undefined;
    defaultStreamOptionsLegacy?: Record<string, any> | undefined;
}, {
    name: string;
    id: string;
    tools: Record<string, {
        id: string;
        requireApproval?: boolean | undefined;
        description?: string | undefined;
        inputSchema?: string | undefined;
        outputSchema?: string | undefined;
    }>;
    agents: Record<string, {
        name: string;
        id: string;
    }>;
    workflows: Record<string, {
        name: string;
        steps?: Record<string, {
            id: string;
            description?: string | undefined;
        }> | undefined;
    }>;
    inputProcessors: {
        id: string;
        name?: string | undefined;
    }[];
    outputProcessors: {
        id: string;
        name?: string | undefined;
    }[];
    description?: string | undefined;
    modelId?: string | undefined;
    provider?: string | undefined;
    modelVersion?: string | undefined;
    instructions?: any;
    modelList?: {
        model: {
            modelId: string;
            provider: string;
            modelVersion: string;
        };
    }[] | undefined;
    defaultOptions?: Record<string, any> | undefined;
    defaultGenerateOptionsLegacy?: Record<string, any> | undefined;
    defaultStreamOptionsLegacy?: Record<string, any> | undefined;
}>;
/**
 * Schema for individual provider information
 */
export declare const providerSchema: z.ZodObject<{
    id: z.ZodString;
    name: z.ZodString;
    label: z.ZodOptional<z.ZodString>;
    description: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
    name: string;
    id: string;
    description?: string | undefined;
    label?: string | undefined;
}, {
    name: string;
    id: string;
    description?: string | undefined;
    label?: string | undefined;
}>;
/**
 * Schema for providers endpoint response
 */
export declare const providersResponseSchema: z.ZodObject<{
    providers: z.ZodArray<z.ZodObject<{
        id: z.ZodString;
        name: z.ZodString;
        label: z.ZodOptional<z.ZodString>;
        description: z.ZodOptional<z.ZodString>;
    }, "strip", z.ZodTypeAny, {
        name: string;
        id: string;
        description?: string | undefined;
        label?: string | undefined;
    }, {
        name: string;
        id: string;
        description?: string | undefined;
        label?: string | undefined;
    }>, "many">;
}, "strip", z.ZodTypeAny, {
    providers: {
        name: string;
        id: string;
        description?: string | undefined;
        label?: string | undefined;
    }[];
}, {
    providers: {
        name: string;
        id: string;
        description?: string | undefined;
        label?: string | undefined;
    }[];
}>;
/**
 * Schema for list agents endpoint response
 * Returns a record of agent ID to serialized agent
 */
export declare const listAgentsResponseSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
    name: z.ZodString;
    description: z.ZodOptional<z.ZodString>;
    instructions: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">, z.ZodAny, z.ZodArray<z.ZodAny, "many">]>>;
    tools: z.ZodRecord<z.ZodString, z.ZodObject<{
        id: z.ZodString;
        description: z.ZodOptional<z.ZodString>;
        inputSchema: z.ZodOptional<z.ZodString>;
        outputSchema: z.ZodOptional<z.ZodString>;
        requireApproval: z.ZodOptional<z.ZodBoolean>;
    }, "strip", z.ZodTypeAny, {
        id: string;
        requireApproval?: boolean | undefined;
        description?: string | undefined;
        inputSchema?: string | undefined;
        outputSchema?: string | undefined;
    }, {
        id: string;
        requireApproval?: boolean | undefined;
        description?: string | undefined;
        inputSchema?: string | undefined;
        outputSchema?: string | undefined;
    }>>;
    agents: z.ZodRecord<z.ZodString, z.ZodObject<{
        id: z.ZodString;
        name: z.ZodString;
    }, "strip", z.ZodTypeAny, {
        name: string;
        id: string;
    }, {
        name: string;
        id: string;
    }>>;
    workflows: z.ZodRecord<z.ZodString, z.ZodObject<{
        name: z.ZodString;
        steps: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
            id: z.ZodString;
            description: z.ZodOptional<z.ZodString>;
        }, "strip", z.ZodTypeAny, {
            id: string;
            description?: string | undefined;
        }, {
            id: string;
            description?: string | undefined;
        }>>>;
    }, "strip", z.ZodTypeAny, {
        name: string;
        steps?: Record<string, {
            id: string;
            description?: string | undefined;
        }> | undefined;
    }, {
        name: string;
        steps?: Record<string, {
            id: string;
            description?: string | undefined;
        }> | undefined;
    }>>;
    inputProcessors: z.ZodArray<z.ZodObject<{
        id: z.ZodString;
        name: z.ZodOptional<z.ZodString>;
    }, "strip", z.ZodTypeAny, {
        id: string;
        name?: string | undefined;
    }, {
        id: string;
        name?: string | undefined;
    }>, "many">;
    outputProcessors: z.ZodArray<z.ZodObject<{
        id: z.ZodString;
        name: z.ZodOptional<z.ZodString>;
    }, "strip", z.ZodTypeAny, {
        id: string;
        name?: string | undefined;
    }, {
        id: string;
        name?: string | undefined;
    }>, "many">;
    provider: z.ZodOptional<z.ZodString>;
    modelId: z.ZodOptional<z.ZodString>;
    modelVersion: z.ZodOptional<z.ZodString>;
    modelList: z.ZodOptional<z.ZodArray<z.ZodObject<{
        model: z.ZodObject<{
            modelId: z.ZodString;
            provider: z.ZodString;
            modelVersion: z.ZodString;
        }, "strip", z.ZodTypeAny, {
            modelId: string;
            provider: string;
            modelVersion: string;
        }, {
            modelId: string;
            provider: string;
            modelVersion: string;
        }>;
    }, "strip", z.ZodTypeAny, {
        model: {
            modelId: string;
            provider: string;
            modelVersion: string;
        };
    }, {
        model: {
            modelId: string;
            provider: string;
            modelVersion: string;
        };
    }>, "many">>;
    defaultOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
    defaultGenerateOptionsLegacy: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
    defaultStreamOptionsLegacy: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
}, "strip", z.ZodTypeAny, {
    name: string;
    tools: Record<string, {
        id: string;
        requireApproval?: boolean | undefined;
        description?: string | undefined;
        inputSchema?: string | undefined;
        outputSchema?: string | undefined;
    }>;
    agents: Record<string, {
        name: string;
        id: string;
    }>;
    workflows: Record<string, {
        name: string;
        steps?: Record<string, {
            id: string;
            description?: string | undefined;
        }> | undefined;
    }>;
    inputProcessors: {
        id: string;
        name?: string | undefined;
    }[];
    outputProcessors: {
        id: string;
        name?: string | undefined;
    }[];
    description?: string | undefined;
    modelId?: string | undefined;
    provider?: string | undefined;
    modelVersion?: string | undefined;
    instructions?: any;
    modelList?: {
        model: {
            modelId: string;
            provider: string;
            modelVersion: string;
        };
    }[] | undefined;
    defaultOptions?: Record<string, any> | undefined;
    defaultGenerateOptionsLegacy?: Record<string, any> | undefined;
    defaultStreamOptionsLegacy?: Record<string, any> | undefined;
}, {
    name: string;
    tools: Record<string, {
        id: string;
        requireApproval?: boolean | undefined;
        description?: string | undefined;
        inputSchema?: string | undefined;
        outputSchema?: string | undefined;
    }>;
    agents: Record<string, {
        name: string;
        id: string;
    }>;
    workflows: Record<string, {
        name: string;
        steps?: Record<string, {
            id: string;
            description?: string | undefined;
        }> | undefined;
    }>;
    inputProcessors: {
        id: string;
        name?: string | undefined;
    }[];
    outputProcessors: {
        id: string;
        name?: string | undefined;
    }[];
    description?: string | undefined;
    modelId?: string | undefined;
    provider?: string | undefined;
    modelVersion?: string | undefined;
    instructions?: any;
    modelList?: {
        model: {
            modelId: string;
            provider: string;
            modelVersion: string;
        };
    }[] | undefined;
    defaultOptions?: Record<string, any> | undefined;
    defaultGenerateOptionsLegacy?: Record<string, any> | undefined;
    defaultStreamOptionsLegacy?: Record<string, any> | undefined;
}>>;
/**
 * Schema for list tools endpoint response
 * Returns a record of tool ID to serialized tool
 */
export declare const listToolsResponseSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
    id: z.ZodString;
    description: z.ZodOptional<z.ZodString>;
    inputSchema: z.ZodOptional<z.ZodString>;
    outputSchema: z.ZodOptional<z.ZodString>;
    requireApproval: z.ZodOptional<z.ZodBoolean>;
}, "strip", z.ZodTypeAny, {
    id: string;
    requireApproval?: boolean | undefined;
    description?: string | undefined;
    inputSchema?: string | undefined;
    outputSchema?: string | undefined;
}, {
    id: string;
    requireApproval?: boolean | undefined;
    description?: string | undefined;
    inputSchema?: string | undefined;
    outputSchema?: string | undefined;
}>>;
/**
 * Comprehensive body schema for agent generate and stream endpoints
 * Validates common fields while using passthrough for complex nested objects
 *
 * EXCLUDED FIELDS (not serializable):
 * - Callbacks: onStepFinish, onFinish, onChunk, onError, onAbort, prepareStep
 * - Class instances: inputProcessors, outputProcessors
 * - Non-serializable: abortSignal, tracingContext
 */
export declare const agentExecutionBodySchema: z.ZodObject<{
    messages: z.ZodUnion<[z.ZodArray<z.ZodAny, "many">, z.ZodString]>;
    instructions: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">, z.ZodAny, z.ZodArray<z.ZodAny, "many">]>>;
    system: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">, z.ZodAny, z.ZodArray<z.ZodAny, "many">]>>;
    context: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
    memory: z.ZodOptional<z.ZodObject<{
        thread: z.ZodUnion<[z.ZodString, z.ZodObject<{
            id: z.ZodString;
        }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
            id: z.ZodString;
        }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
            id: z.ZodString;
        }, z.ZodTypeAny, "passthrough">>]>;
        resource: z.ZodString;
        options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
        readOnly: z.ZodOptional<z.ZodBoolean>;
    }, "strip", z.ZodTypeAny, {
        thread: string | z.objectOutputType<{
            id: z.ZodString;
        }, z.ZodTypeAny, "passthrough">;
        resource: string;
        options?: Record<string, any> | undefined;
        readOnly?: boolean | undefined;
    }, {
        thread: string | z.objectInputType<{
            id: z.ZodString;
        }, z.ZodTypeAny, "passthrough">;
        resource: string;
        options?: Record<string, any> | undefined;
        readOnly?: boolean | undefined;
    }>>;
    runId: z.ZodOptional<z.ZodString>;
    savePerStep: z.ZodOptional<z.ZodBoolean>;
    requestContext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
    maxSteps: z.ZodOptional<z.ZodNumber>;
    stopWhen: z.ZodOptional<z.ZodAny>;
    providerOptions: z.ZodOptional<z.ZodObject<{
        anthropic: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
        google: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
        openai: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
        xai: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
    }, "strip", z.ZodTypeAny, {
        anthropic?: Record<string, any> | undefined;
        google?: Record<string, any> | undefined;
        openai?: Record<string, any> | undefined;
        xai?: Record<string, any> | undefined;
    }, {
        anthropic?: Record<string, any> | undefined;
        google?: Record<string, any> | undefined;
        openai?: Record<string, any> | undefined;
        xai?: Record<string, any> | undefined;
    }>>;
    modelSettings: z.ZodOptional<z.ZodAny>;
    activeTools: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
    toolsets: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
    clientTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
    toolChoice: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["auto", "none", "required"]>, z.ZodObject<{
        type: z.ZodLiteral<"tool">;
        toolName: z.ZodString;
    }, "strip", z.ZodTypeAny, {
        type: "tool";
        toolName: string;
    }, {
        type: "tool";
        toolName: string;
    }>]>>;
    requireToolApproval: z.ZodOptional<z.ZodBoolean>;
    scorers: z.ZodOptional<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodRecord<z.ZodString, z.ZodObject<{
        scorer: z.ZodString;
        sampling: z.ZodOptional<z.ZodAny>;
    }, "strip", z.ZodTypeAny, {
        scorer: string;
        sampling?: any;
    }, {
        scorer: string;
        sampling?: any;
    }>>]>>;
    returnScorerData: z.ZodOptional<z.ZodBoolean>;
    tracingOptions: z.ZodOptional<z.ZodObject<{
        metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
        requestContextKeys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
        traceId: z.ZodOptional<z.ZodString>;
        parentSpanId: z.ZodOptional<z.ZodString>;
    }, "strip", z.ZodTypeAny, {
        metadata?: Record<string, unknown> | undefined;
        requestContextKeys?: string[] | undefined;
        traceId?: string | undefined;
        parentSpanId?: string | undefined;
    }, {
        metadata?: Record<string, unknown> | undefined;
        requestContextKeys?: string[] | undefined;
        traceId?: string | undefined;
        parentSpanId?: string | undefined;
    }>>;
    output: z.ZodOptional<z.ZodAny>;
    structuredOutput: z.ZodOptional<z.ZodObject<{
        schema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
        model: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodAny]>>;
        instructions: z.ZodOptional<z.ZodString>;
        jsonPromptInjection: z.ZodOptional<z.ZodBoolean>;
        errorStrategy: z.ZodOptional<z.ZodEnum<["strict", "warn", "fallback"]>>;
        fallbackValue: z.ZodOptional<z.ZodAny>;
    }, "strip", z.ZodTypeAny, {
        schema: {} & {
            [k: string]: unknown;
        };
        model?: any;
        instructions?: string | undefined;
        jsonPromptInjection?: boolean | undefined;
        errorStrategy?: "warn" | "strict" | "fallback" | undefined;
        fallbackValue?: any;
    }, {
        schema: {} & {
            [k: string]: unknown;
        };
        model?: any;
        instructions?: string | undefined;
        jsonPromptInjection?: boolean | undefined;
        errorStrategy?: "warn" | "strict" | "fallback" | undefined;
        fallbackValue?: any;
    }>>;
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
    messages: z.ZodUnion<[z.ZodArray<z.ZodAny, "many">, z.ZodString]>;
    instructions: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">, z.ZodAny, z.ZodArray<z.ZodAny, "many">]>>;
    system: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">, z.ZodAny, z.ZodArray<z.ZodAny, "many">]>>;
    context: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
    memory: z.ZodOptional<z.ZodObject<{
        thread: z.ZodUnion<[z.ZodString, z.ZodObject<{
            id: z.ZodString;
        }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
            id: z.ZodString;
        }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
            id: z.ZodString;
        }, z.ZodTypeAny, "passthrough">>]>;
        resource: z.ZodString;
        options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
        readOnly: z.ZodOptional<z.ZodBoolean>;
    }, "strip", z.ZodTypeAny, {
        thread: string | z.objectOutputType<{
            id: z.ZodString;
        }, z.ZodTypeAny, "passthrough">;
        resource: string;
        options?: Record<string, any> | undefined;
        readOnly?: boolean | undefined;
    }, {
        thread: string | z.objectInputType<{
            id: z.ZodString;
        }, z.ZodTypeAny, "passthrough">;
        resource: string;
        options?: Record<string, any> | undefined;
        readOnly?: boolean | undefined;
    }>>;
    runId: z.ZodOptional<z.ZodString>;
    savePerStep: z.ZodOptional<z.ZodBoolean>;
    requestContext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
    maxSteps: z.ZodOptional<z.ZodNumber>;
    stopWhen: z.ZodOptional<z.ZodAny>;
    providerOptions: z.ZodOptional<z.ZodObject<{
        anthropic: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
        google: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
        openai: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
        xai: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
    }, "strip", z.ZodTypeAny, {
        anthropic?: Record<string, any> | undefined;
        google?: Record<string, any> | undefined;
        openai?: Record<string, any> | undefined;
        xai?: Record<string, any> | undefined;
    }, {
        anthropic?: Record<string, any> | undefined;
        google?: Record<string, any> | undefined;
        openai?: Record<string, any> | undefined;
        xai?: Record<string, any> | undefined;
    }>>;
    modelSettings: z.ZodOptional<z.ZodAny>;
    activeTools: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
    toolsets: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
    clientTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
    toolChoice: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["auto", "none", "required"]>, z.ZodObject<{
        type: z.ZodLiteral<"tool">;
        toolName: z.ZodString;
    }, "strip", z.ZodTypeAny, {
        type: "tool";
        toolName: string;
    }, {
        type: "tool";
        toolName: string;
    }>]>>;
    requireToolApproval: z.ZodOptional<z.ZodBoolean>;
    scorers: z.ZodOptional<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodRecord<z.ZodString, z.ZodObject<{
        scorer: z.ZodString;
        sampling: z.ZodOptional<z.ZodAny>;
    }, "strip", z.ZodTypeAny, {
        scorer: string;
        sampling?: any;
    }, {
        scorer: string;
        sampling?: any;
    }>>]>>;
    returnScorerData: z.ZodOptional<z.ZodBoolean>;
    tracingOptions: z.ZodOptional<z.ZodObject<{
        metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
        requestContextKeys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
        traceId: z.ZodOptional<z.ZodString>;
        parentSpanId: z.ZodOptional<z.ZodString>;
    }, "strip", z.ZodTypeAny, {
        metadata?: Record<string, unknown> | undefined;
        requestContextKeys?: string[] | undefined;
        traceId?: string | undefined;
        parentSpanId?: string | undefined;
    }, {
        metadata?: Record<string, unknown> | undefined;
        requestContextKeys?: string[] | undefined;
        traceId?: string | undefined;
        parentSpanId?: string | undefined;
    }>>;
    output: z.ZodOptional<z.ZodAny>;
    structuredOutput: z.ZodOptional<z.ZodObject<{
        schema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
        model: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodAny]>>;
        instructions: z.ZodOptional<z.ZodString>;
        jsonPromptInjection: z.ZodOptional<z.ZodBoolean>;
        errorStrategy: z.ZodOptional<z.ZodEnum<["strict", "warn", "fallback"]>>;
        fallbackValue: z.ZodOptional<z.ZodAny>;
    }, "strip", z.ZodTypeAny, {
        schema: {} & {
            [k: string]: unknown;
        };
        model?: any;
        instructions?: string | undefined;
        jsonPromptInjection?: boolean | undefined;
        errorStrategy?: "warn" | "strict" | "fallback" | undefined;
        fallbackValue?: any;
    }, {
        schema: {} & {
            [k: string]: unknown;
        };
        model?: any;
        instructions?: string | undefined;
        jsonPromptInjection?: boolean | undefined;
        errorStrategy?: "warn" | "strict" | "fallback" | undefined;
        fallbackValue?: any;
    }>>;
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
    messages: z.ZodUnion<[z.ZodArray<z.ZodAny, "many">, z.ZodString]>;
    instructions: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">, z.ZodAny, z.ZodArray<z.ZodAny, "many">]>>;
    system: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">, z.ZodAny, z.ZodArray<z.ZodAny, "many">]>>;
    context: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
    memory: z.ZodOptional<z.ZodObject<{
        thread: z.ZodUnion<[z.ZodString, z.ZodObject<{
            id: z.ZodString;
        }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
            id: z.ZodString;
        }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
            id: z.ZodString;
        }, z.ZodTypeAny, "passthrough">>]>;
        resource: z.ZodString;
        options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
        readOnly: z.ZodOptional<z.ZodBoolean>;
    }, "strip", z.ZodTypeAny, {
        thread: string | z.objectOutputType<{
            id: z.ZodString;
        }, z.ZodTypeAny, "passthrough">;
        resource: string;
        options?: Record<string, any> | undefined;
        readOnly?: boolean | undefined;
    }, {
        thread: string | z.objectInputType<{
            id: z.ZodString;
        }, z.ZodTypeAny, "passthrough">;
        resource: string;
        options?: Record<string, any> | undefined;
        readOnly?: boolean | undefined;
    }>>;
    runId: z.ZodOptional<z.ZodString>;
    savePerStep: z.ZodOptional<z.ZodBoolean>;
    requestContext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
    maxSteps: z.ZodOptional<z.ZodNumber>;
    stopWhen: z.ZodOptional<z.ZodAny>;
    providerOptions: z.ZodOptional<z.ZodObject<{
        anthropic: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
        google: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
        openai: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
        xai: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
    }, "strip", z.ZodTypeAny, {
        anthropic?: Record<string, any> | undefined;
        google?: Record<string, any> | undefined;
        openai?: Record<string, any> | undefined;
        xai?: Record<string, any> | undefined;
    }, {
        anthropic?: Record<string, any> | undefined;
        google?: Record<string, any> | undefined;
        openai?: Record<string, any> | undefined;
        xai?: Record<string, any> | undefined;
    }>>;
    modelSettings: z.ZodOptional<z.ZodAny>;
    activeTools: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
    toolsets: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
    clientTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
    toolChoice: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["auto", "none", "required"]>, z.ZodObject<{
        type: z.ZodLiteral<"tool">;
        toolName: z.ZodString;
    }, "strip", z.ZodTypeAny, {
        type: "tool";
        toolName: string;
    }, {
        type: "tool";
        toolName: string;
    }>]>>;
    requireToolApproval: z.ZodOptional<z.ZodBoolean>;
    scorers: z.ZodOptional<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodRecord<z.ZodString, z.ZodObject<{
        scorer: z.ZodString;
        sampling: z.ZodOptional<z.ZodAny>;
    }, "strip", z.ZodTypeAny, {
        scorer: string;
        sampling?: any;
    }, {
        scorer: string;
        sampling?: any;
    }>>]>>;
    returnScorerData: z.ZodOptional<z.ZodBoolean>;
    tracingOptions: z.ZodOptional<z.ZodObject<{
        metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
        requestContextKeys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
        traceId: z.ZodOptional<z.ZodString>;
        parentSpanId: z.ZodOptional<z.ZodString>;
    }, "strip", z.ZodTypeAny, {
        metadata?: Record<string, unknown> | undefined;
        requestContextKeys?: string[] | undefined;
        traceId?: string | undefined;
        parentSpanId?: string | undefined;
    }, {
        metadata?: Record<string, unknown> | undefined;
        requestContextKeys?: string[] | undefined;
        traceId?: string | undefined;
        parentSpanId?: string | undefined;
    }>>;
    output: z.ZodOptional<z.ZodAny>;
    structuredOutput: z.ZodOptional<z.ZodObject<{
        schema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
        model: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodAny]>>;
        instructions: z.ZodOptional<z.ZodString>;
        jsonPromptInjection: z.ZodOptional<z.ZodBoolean>;
        errorStrategy: z.ZodOptional<z.ZodEnum<["strict", "warn", "fallback"]>>;
        fallbackValue: z.ZodOptional<z.ZodAny>;
    }, "strip", z.ZodTypeAny, {
        schema: {} & {
            [k: string]: unknown;
        };
        model?: any;
        instructions?: string | undefined;
        jsonPromptInjection?: boolean | undefined;
        errorStrategy?: "warn" | "strict" | "fallback" | undefined;
        fallbackValue?: any;
    }, {
        schema: {} & {
            [k: string]: unknown;
        };
        model?: any;
        instructions?: string | undefined;
        jsonPromptInjection?: boolean | undefined;
        errorStrategy?: "warn" | "strict" | "fallback" | undefined;
        fallbackValue?: any;
    }>>;
}, z.ZodTypeAny, "passthrough">>;
/**
 * Legacy body schema for deprecated endpoints that still use threadId/resourceId
 * Used by /agents/:agentId/generate-legacy and /agents/:agentId/stream-legacy
 */
export declare const agentExecutionLegacyBodySchema: z.ZodObject<{
    messages: z.ZodUnion<[z.ZodArray<z.ZodAny, "many">, z.ZodString]>;
    instructions: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">, z.ZodAny, z.ZodArray<z.ZodAny, "many">]>>;
    system: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">, z.ZodAny, z.ZodArray<z.ZodAny, "many">]>>;
    context: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
    memory: z.ZodOptional<z.ZodObject<{
        thread: z.ZodUnion<[z.ZodString, z.ZodObject<{
            id: z.ZodString;
        }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
            id: z.ZodString;
        }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
            id: z.ZodString;
        }, z.ZodTypeAny, "passthrough">>]>;
        resource: z.ZodString;
        options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
        readOnly: z.ZodOptional<z.ZodBoolean>;
    }, "strip", z.ZodTypeAny, {
        thread: string | z.objectOutputType<{
            id: z.ZodString;
        }, z.ZodTypeAny, "passthrough">;
        resource: string;
        options?: Record<string, any> | undefined;
        readOnly?: boolean | undefined;
    }, {
        thread: string | z.objectInputType<{
            id: z.ZodString;
        }, z.ZodTypeAny, "passthrough">;
        resource: string;
        options?: Record<string, any> | undefined;
        readOnly?: boolean | undefined;
    }>>;
    runId: z.ZodOptional<z.ZodString>;
    savePerStep: z.ZodOptional<z.ZodBoolean>;
    requestContext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
    maxSteps: z.ZodOptional<z.ZodNumber>;
    stopWhen: z.ZodOptional<z.ZodAny>;
    providerOptions: z.ZodOptional<z.ZodObject<{
        anthropic: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
        google: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
        openai: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
        xai: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
    }, "strip", z.ZodTypeAny, {
        anthropic?: Record<string, any> | undefined;
        google?: Record<string, any> | undefined;
        openai?: Record<string, any> | undefined;
        xai?: Record<string, any> | undefined;
    }, {
        anthropic?: Record<string, any> | undefined;
        google?: Record<string, any> | undefined;
        openai?: Record<string, any> | undefined;
        xai?: Record<string, any> | undefined;
    }>>;
    modelSettings: z.ZodOptional<z.ZodAny>;
    activeTools: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
    toolsets: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
    clientTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
    toolChoice: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["auto", "none", "required"]>, z.ZodObject<{
        type: z.ZodLiteral<"tool">;
        toolName: z.ZodString;
    }, "strip", z.ZodTypeAny, {
        type: "tool";
        toolName: string;
    }, {
        type: "tool";
        toolName: string;
    }>]>>;
    requireToolApproval: z.ZodOptional<z.ZodBoolean>;
    scorers: z.ZodOptional<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodRecord<z.ZodString, z.ZodObject<{
        scorer: z.ZodString;
        sampling: z.ZodOptional<z.ZodAny>;
    }, "strip", z.ZodTypeAny, {
        scorer: string;
        sampling?: any;
    }, {
        scorer: string;
        sampling?: any;
    }>>]>>;
    returnScorerData: z.ZodOptional<z.ZodBoolean>;
    tracingOptions: z.ZodOptional<z.ZodObject<{
        metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
        requestContextKeys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
        traceId: z.ZodOptional<z.ZodString>;
        parentSpanId: z.ZodOptional<z.ZodString>;
    }, "strip", z.ZodTypeAny, {
        metadata?: Record<string, unknown> | undefined;
        requestContextKeys?: string[] | undefined;
        traceId?: string | undefined;
        parentSpanId?: string | undefined;
    }, {
        metadata?: Record<string, unknown> | undefined;
        requestContextKeys?: string[] | undefined;
        traceId?: string | undefined;
        parentSpanId?: string | undefined;
    }>>;
    output: z.ZodOptional<z.ZodAny>;
    structuredOutput: z.ZodOptional<z.ZodObject<{
        schema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
        model: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodAny]>>;
        instructions: z.ZodOptional<z.ZodString>;
        jsonPromptInjection: z.ZodOptional<z.ZodBoolean>;
        errorStrategy: z.ZodOptional<z.ZodEnum<["strict", "warn", "fallback"]>>;
        fallbackValue: z.ZodOptional<z.ZodAny>;
    }, "strip", z.ZodTypeAny, {
        schema: {} & {
            [k: string]: unknown;
        };
        model?: any;
        instructions?: string | undefined;
        jsonPromptInjection?: boolean | undefined;
        errorStrategy?: "warn" | "strict" | "fallback" | undefined;
        fallbackValue?: any;
    }, {
        schema: {} & {
            [k: string]: unknown;
        };
        model?: any;
        instructions?: string | undefined;
        jsonPromptInjection?: boolean | undefined;
        errorStrategy?: "warn" | "strict" | "fallback" | undefined;
        fallbackValue?: any;
    }>>;
} & {
    resourceId: z.ZodOptional<z.ZodString>;
    resourceid: z.ZodOptional<z.ZodString>;
    threadId: z.ZodOptional<z.ZodString>;
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
    messages: z.ZodUnion<[z.ZodArray<z.ZodAny, "many">, z.ZodString]>;
    instructions: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">, z.ZodAny, z.ZodArray<z.ZodAny, "many">]>>;
    system: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">, z.ZodAny, z.ZodArray<z.ZodAny, "many">]>>;
    context: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
    memory: z.ZodOptional<z.ZodObject<{
        thread: z.ZodUnion<[z.ZodString, z.ZodObject<{
            id: z.ZodString;
        }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
            id: z.ZodString;
        }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
            id: z.ZodString;
        }, z.ZodTypeAny, "passthrough">>]>;
        resource: z.ZodString;
        options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
        readOnly: z.ZodOptional<z.ZodBoolean>;
    }, "strip", z.ZodTypeAny, {
        thread: string | z.objectOutputType<{
            id: z.ZodString;
        }, z.ZodTypeAny, "passthrough">;
        resource: string;
        options?: Record<string, any> | undefined;
        readOnly?: boolean | undefined;
    }, {
        thread: string | z.objectInputType<{
            id: z.ZodString;
        }, z.ZodTypeAny, "passthrough">;
        resource: string;
        options?: Record<string, any> | undefined;
        readOnly?: boolean | undefined;
    }>>;
    runId: z.ZodOptional<z.ZodString>;
    savePerStep: z.ZodOptional<z.ZodBoolean>;
    requestContext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
    maxSteps: z.ZodOptional<z.ZodNumber>;
    stopWhen: z.ZodOptional<z.ZodAny>;
    providerOptions: z.ZodOptional<z.ZodObject<{
        anthropic: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
        google: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
        openai: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
        xai: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
    }, "strip", z.ZodTypeAny, {
        anthropic?: Record<string, any> | undefined;
        google?: Record<string, any> | undefined;
        openai?: Record<string, any> | undefined;
        xai?: Record<string, any> | undefined;
    }, {
        anthropic?: Record<string, any> | undefined;
        google?: Record<string, any> | undefined;
        openai?: Record<string, any> | undefined;
        xai?: Record<string, any> | undefined;
    }>>;
    modelSettings: z.ZodOptional<z.ZodAny>;
    activeTools: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
    toolsets: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
    clientTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
    toolChoice: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["auto", "none", "required"]>, z.ZodObject<{
        type: z.ZodLiteral<"tool">;
        toolName: z.ZodString;
    }, "strip", z.ZodTypeAny, {
        type: "tool";
        toolName: string;
    }, {
        type: "tool";
        toolName: string;
    }>]>>;
    requireToolApproval: z.ZodOptional<z.ZodBoolean>;
    scorers: z.ZodOptional<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodRecord<z.ZodString, z.ZodObject<{
        scorer: z.ZodString;
        sampling: z.ZodOptional<z.ZodAny>;
    }, "strip", z.ZodTypeAny, {
        scorer: string;
        sampling?: any;
    }, {
        scorer: string;
        sampling?: any;
    }>>]>>;
    returnScorerData: z.ZodOptional<z.ZodBoolean>;
    tracingOptions: z.ZodOptional<z.ZodObject<{
        metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
        requestContextKeys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
        traceId: z.ZodOptional<z.ZodString>;
        parentSpanId: z.ZodOptional<z.ZodString>;
    }, "strip", z.ZodTypeAny, {
        metadata?: Record<string, unknown> | undefined;
        requestContextKeys?: string[] | undefined;
        traceId?: string | undefined;
        parentSpanId?: string | undefined;
    }, {
        metadata?: Record<string, unknown> | undefined;
        requestContextKeys?: string[] | undefined;
        traceId?: string | undefined;
        parentSpanId?: string | undefined;
    }>>;
    output: z.ZodOptional<z.ZodAny>;
    structuredOutput: z.ZodOptional<z.ZodObject<{
        schema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
        model: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodAny]>>;
        instructions: z.ZodOptional<z.ZodString>;
        jsonPromptInjection: z.ZodOptional<z.ZodBoolean>;
        errorStrategy: z.ZodOptional<z.ZodEnum<["strict", "warn", "fallback"]>>;
        fallbackValue: z.ZodOptional<z.ZodAny>;
    }, "strip", z.ZodTypeAny, {
        schema: {} & {
            [k: string]: unknown;
        };
        model?: any;
        instructions?: string | undefined;
        jsonPromptInjection?: boolean | undefined;
        errorStrategy?: "warn" | "strict" | "fallback" | undefined;
        fallbackValue?: any;
    }, {
        schema: {} & {
            [k: string]: unknown;
        };
        model?: any;
        instructions?: string | undefined;
        jsonPromptInjection?: boolean | undefined;
        errorStrategy?: "warn" | "strict" | "fallback" | undefined;
        fallbackValue?: any;
    }>>;
} & {
    resourceId: z.ZodOptional<z.ZodString>;
    resourceid: z.ZodOptional<z.ZodString>;
    threadId: z.ZodOptional<z.ZodString>;
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
    messages: z.ZodUnion<[z.ZodArray<z.ZodAny, "many">, z.ZodString]>;
    instructions: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">, z.ZodAny, z.ZodArray<z.ZodAny, "many">]>>;
    system: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">, z.ZodAny, z.ZodArray<z.ZodAny, "many">]>>;
    context: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
    memory: z.ZodOptional<z.ZodObject<{
        thread: z.ZodUnion<[z.ZodString, z.ZodObject<{
            id: z.ZodString;
        }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
            id: z.ZodString;
        }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
            id: z.ZodString;
        }, z.ZodTypeAny, "passthrough">>]>;
        resource: z.ZodString;
        options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
        readOnly: z.ZodOptional<z.ZodBoolean>;
    }, "strip", z.ZodTypeAny, {
        thread: string | z.objectOutputType<{
            id: z.ZodString;
        }, z.ZodTypeAny, "passthrough">;
        resource: string;
        options?: Record<string, any> | undefined;
        readOnly?: boolean | undefined;
    }, {
        thread: string | z.objectInputType<{
            id: z.ZodString;
        }, z.ZodTypeAny, "passthrough">;
        resource: string;
        options?: Record<string, any> | undefined;
        readOnly?: boolean | undefined;
    }>>;
    runId: z.ZodOptional<z.ZodString>;
    savePerStep: z.ZodOptional<z.ZodBoolean>;
    requestContext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
    maxSteps: z.ZodOptional<z.ZodNumber>;
    stopWhen: z.ZodOptional<z.ZodAny>;
    providerOptions: z.ZodOptional<z.ZodObject<{
        anthropic: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
        google: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
        openai: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
        xai: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
    }, "strip", z.ZodTypeAny, {
        anthropic?: Record<string, any> | undefined;
        google?: Record<string, any> | undefined;
        openai?: Record<string, any> | undefined;
        xai?: Record<string, any> | undefined;
    }, {
        anthropic?: Record<string, any> | undefined;
        google?: Record<string, any> | undefined;
        openai?: Record<string, any> | undefined;
        xai?: Record<string, any> | undefined;
    }>>;
    modelSettings: z.ZodOptional<z.ZodAny>;
    activeTools: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
    toolsets: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
    clientTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
    toolChoice: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["auto", "none", "required"]>, z.ZodObject<{
        type: z.ZodLiteral<"tool">;
        toolName: z.ZodString;
    }, "strip", z.ZodTypeAny, {
        type: "tool";
        toolName: string;
    }, {
        type: "tool";
        toolName: string;
    }>]>>;
    requireToolApproval: z.ZodOptional<z.ZodBoolean>;
    scorers: z.ZodOptional<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodRecord<z.ZodString, z.ZodObject<{
        scorer: z.ZodString;
        sampling: z.ZodOptional<z.ZodAny>;
    }, "strip", z.ZodTypeAny, {
        scorer: string;
        sampling?: any;
    }, {
        scorer: string;
        sampling?: any;
    }>>]>>;
    returnScorerData: z.ZodOptional<z.ZodBoolean>;
    tracingOptions: z.ZodOptional<z.ZodObject<{
        metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
        requestContextKeys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
        traceId: z.ZodOptional<z.ZodString>;
        parentSpanId: z.ZodOptional<z.ZodString>;
    }, "strip", z.ZodTypeAny, {
        metadata?: Record<string, unknown> | undefined;
        requestContextKeys?: string[] | undefined;
        traceId?: string | undefined;
        parentSpanId?: string | undefined;
    }, {
        metadata?: Record<string, unknown> | undefined;
        requestContextKeys?: string[] | undefined;
        traceId?: string | undefined;
        parentSpanId?: string | undefined;
    }>>;
    output: z.ZodOptional<z.ZodAny>;
    structuredOutput: z.ZodOptional<z.ZodObject<{
        schema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
        model: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodAny]>>;
        instructions: z.ZodOptional<z.ZodString>;
        jsonPromptInjection: z.ZodOptional<z.ZodBoolean>;
        errorStrategy: z.ZodOptional<z.ZodEnum<["strict", "warn", "fallback"]>>;
        fallbackValue: z.ZodOptional<z.ZodAny>;
    }, "strip", z.ZodTypeAny, {
        schema: {} & {
            [k: string]: unknown;
        };
        model?: any;
        instructions?: string | undefined;
        jsonPromptInjection?: boolean | undefined;
        errorStrategy?: "warn" | "strict" | "fallback" | undefined;
        fallbackValue?: any;
    }, {
        schema: {} & {
            [k: string]: unknown;
        };
        model?: any;
        instructions?: string | undefined;
        jsonPromptInjection?: boolean | undefined;
        errorStrategy?: "warn" | "strict" | "fallback" | undefined;
        fallbackValue?: any;
    }>>;
} & {
    resourceId: z.ZodOptional<z.ZodString>;
    resourceid: z.ZodOptional<z.ZodString>;
    threadId: z.ZodOptional<z.ZodString>;
}, z.ZodTypeAny, "passthrough">>;
export declare const executeToolBodySchema: z.ZodObject<{
    data: z.ZodType<unknown, z.ZodTypeDef, unknown>;
} & {
    requestContext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
}, "strip", z.ZodTypeAny, {
    requestContext?: Record<string, any> | undefined;
    data?: unknown;
}, {
    requestContext?: Record<string, any> | undefined;
    data?: unknown;
}>;
export declare const executeToolContextBodySchema: z.ZodObject<{
    data: z.ZodType<unknown, z.ZodTypeDef, unknown>;
} & {
    requestContext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
}, "strip", z.ZodTypeAny, {
    requestContext?: Record<string, any> | undefined;
    data?: unknown;
}, {
    requestContext?: Record<string, any> | undefined;
    data?: unknown;
}>;
/**
 * Response schema for voice speakers endpoint
 * Flexible to accommodate provider-specific metadata
 */
export declare const voiceSpeakersResponseSchema: z.ZodArray<z.ZodObject<{
    voiceId: z.ZodString;
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
    voiceId: z.ZodString;
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
    voiceId: z.ZodString;
}, z.ZodTypeAny, "passthrough">>, "many">;
/**
 * Body schema for approving tool call
 */
export declare const approveToolCallBodySchema: z.ZodObject<{
    runId: z.ZodString;
    requestContext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
    toolCallId: z.ZodString;
    format: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
    runId: string;
    toolCallId: string;
    requestContext?: Record<string, any> | undefined;
    format?: string | undefined;
}, {
    runId: string;
    toolCallId: string;
    requestContext?: Record<string, any> | undefined;
    format?: string | undefined;
}>;
/**
 * Body schema for declining tool call
 */
export declare const declineToolCallBodySchema: z.ZodObject<{
    runId: z.ZodString;
    requestContext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
    toolCallId: z.ZodString;
    format: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
    runId: string;
    toolCallId: string;
    requestContext?: Record<string, any> | undefined;
    format?: string | undefined;
}, {
    runId: string;
    toolCallId: string;
    requestContext?: Record<string, any> | undefined;
    format?: string | undefined;
}>;
/**
 * Body schema for approving network tool call
 */
export declare const approveNetworkToolCallBodySchema: z.ZodObject<{
    runId: z.ZodString;
    requestContext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
    format: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
    runId: string;
    requestContext?: Record<string, any> | undefined;
    format?: string | undefined;
}, {
    runId: string;
    requestContext?: Record<string, any> | undefined;
    format?: string | undefined;
}>;
/**
 * Body schema for declining network tool call
 */
export declare const declineNetworkToolCallBodySchema: z.ZodObject<{
    runId: z.ZodString;
    requestContext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
    format: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
    runId: string;
    requestContext?: Record<string, any> | undefined;
    format?: string | undefined;
}, {
    runId: string;
    requestContext?: Record<string, any> | undefined;
    format?: string | undefined;
}>;
/**
 * Response schema for tool approval/decline
 */
export declare const toolCallResponseSchema: z.ZodObject<{
    fullStream: z.ZodAny;
}, "strip", z.ZodTypeAny, {
    fullStream?: any;
}, {
    fullStream?: any;
}>;
/**
 * Body schema for updating agent model
 */
export declare const updateAgentModelBodySchema: z.ZodObject<{
    modelId: z.ZodString;
    provider: z.ZodString;
}, "strip", z.ZodTypeAny, {
    modelId: string;
    provider: string;
}, {
    modelId: string;
    provider: string;
}>;
/**
 * Body schema for reordering agent model list
 */
export declare const reorderAgentModelListBodySchema: z.ZodObject<{
    reorderedModelIds: z.ZodArray<z.ZodString, "many">;
}, "strip", z.ZodTypeAny, {
    reorderedModelIds: string[];
}, {
    reorderedModelIds: string[];
}>;
/**
 * Body schema for updating model in model list
 */
export declare const updateAgentModelInModelListBodySchema: z.ZodObject<{
    model: z.ZodOptional<z.ZodObject<{
        modelId: z.ZodString;
        provider: z.ZodString;
    }, "strip", z.ZodTypeAny, {
        modelId: string;
        provider: string;
    }, {
        modelId: string;
        provider: string;
    }>>;
    maxRetries: z.ZodOptional<z.ZodNumber>;
    enabled: z.ZodOptional<z.ZodBoolean>;
}, "strip", z.ZodTypeAny, {
    enabled?: boolean | undefined;
    model?: {
        modelId: string;
        provider: string;
    } | undefined;
    maxRetries?: number | undefined;
}, {
    enabled?: boolean | undefined;
    model?: {
        modelId: string;
        provider: string;
    } | undefined;
    maxRetries?: number | undefined;
}>;
/**
 * Response schema for model management operations
 */
export declare const modelManagementResponseSchema: z.ZodObject<{
    message: z.ZodString;
}, "strip", z.ZodTypeAny, {
    message: string;
}, {
    message: string;
}>;
/**
 * Body schema for generating speech
 */
export declare const generateSpeechBodySchema: z.ZodObject<{
    text: z.ZodString;
    speakerId: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
    text: string;
    speakerId?: string | undefined;
}, {
    text: string;
    speakerId?: string | undefined;
}>;
/**
 * Body schema for transcribing speech
 */
export declare const transcribeSpeechBodySchema: z.ZodObject<{
    audio: z.ZodAny;
    options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
}, "strip", z.ZodTypeAny, {
    options?: Record<string, any> | undefined;
    audio?: any;
}, {
    options?: Record<string, any> | undefined;
    audio?: any;
}>;
/**
 * Response schema for transcribe speech
 */
export declare const transcribeSpeechResponseSchema: z.ZodObject<{
    text: z.ZodString;
}, "strip", z.ZodTypeAny, {
    text: string;
}, {
    text: string;
}>;
/**
 * Response schema for get listener
 */
export declare const getListenerResponseSchema: z.ZodAny;
/**
 * Response schema for agent generation endpoints
 * These return AI SDK types which have complex structures
 */
export declare const generateResponseSchema: z.ZodAny;
export declare const streamResponseSchema: z.ZodAny;
export declare const speakResponseSchema: z.ZodAny;
export declare const executeToolResponseSchema: z.ZodAny;
/**
 * Body schema for enhancing agent instructions
 */
export declare const enhanceInstructionsBodySchema: z.ZodObject<{
    instructions: z.ZodString;
    comment: z.ZodString;
}, "strip", z.ZodTypeAny, {
    instructions: string;
    comment: string;
}, {
    instructions: string;
    comment: string;
}>;
/**
 * Response schema for enhanced instructions
 */
export declare const enhanceInstructionsResponseSchema: z.ZodObject<{
    explanation: z.ZodString;
    new_prompt: z.ZodString;
}, "strip", z.ZodTypeAny, {
    explanation: string;
    new_prompt: string;
}, {
    explanation: string;
    new_prompt: string;
}>;
//# sourceMappingURL=agents.d.ts.map