import { F as ChannelMessageSurface } from "../channel-Bnm4S7T2.js";
import { n as ChannelHost } from "../index-BB0kqhIz.js";

//#region src/channels/tanstack-ai.d.ts
type CreateSendMessageToolOptions = {
  /** TanStack AI tools carry their name in the definition. */ name: string;
  description?: string;
  needsApproval?: boolean;
  metadata?: Record<string, unknown>;
};
/** Adapt one Host-resolved surface to a TanStack AI server tool. */
declare function createSendMessageTool(
  host: ChannelHost,
  surface: ChannelMessageSurface,
  options: CreateSendMessageToolOptions
): import("@tanstack/ai").ServerTool<
  {
    type: "object";
    properties: {
      title: {
        type: "string";
        description: string;
      };
      markdown: {
        type: "string";
        minLength: number;
        description: string;
      };
    };
    required: string[];
    additionalProperties: false;
  },
  import("@tanstack/ai").SchemaInput,
  string,
  unknown
>;
//#endregion
export { CreateSendMessageToolOptions, createSendMessageTool };
//# sourceMappingURL=tanstack-ai.d.ts.map
