UNPKG

unstructured-client

Version:

<h3 align="center"> <img src="https://raw.githubusercontent.com/Unstructured-IO/unstructured/main/img/unstructured_logo.png" height="200" > </h3>

18 lines (15 loc) 623 B
/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ import { ZodRawShape } from "zod"; import { PromptArgsRawShape, PromptDefinition } from "./prompts.js"; import { ResourceDefinition, ResourceTemplateDefinition } from "./resources.js"; import { ToolDefinition } from "./tools.js"; export type Register = { tool: <A extends ZodRawShape | undefined>(def: ToolDefinition<A>) => void; resource: (def: ResourceDefinition) => void; resourceTemplate: (def: ResourceTemplateDefinition) => void; prompt: <A extends PromptArgsRawShape | undefined>( prompt: PromptDefinition<A>, ) => void; };