import { a as TObject, s as TString } from "../../helpers-DutyHbVD.mjs"; import { t as TUnsafe } from "../../unsafe-C_mX8nG4.mjs"; import { t as TNumber } from "../../number-BDPWg_Sz.mjs"; import { t as TOptional } from "../../optional-Bis1WTKK.mjs"; //#region extensions/crypto/src/tools/farcaster.d.ts /** * Farcaster Tool — social actions on the Farcaster protocol via Neynar API. * * Actions: * post — Publish a cast * feed — Get a user's casts or home feed * search — Search casts by keyword * user — Get user profile info * channel — Get channel info and casts * trending — Get trending casts * like — Like a cast * recast — Recast (retweet equivalent) * follow — Follow a user * unfollow — Unfollow a user * * Uses Neynar API (api.neynar.com). Requires NEYNAR_API_KEY env var. * Mirrors the structure of the ClawnX (X/Twitter) tool. */ declare function createFarcasterTool(): { name: string; label: string; ownerOnly: boolean; description: string; parameters: TObject<{ action: TUnsafe<"search" | "user" | "post" | "trending" | "like" | "follow" | "unfollow" | "feed" | "channel" | "recast">; text: TOptional; username: TOptional; fid: TOptional; query: TOptional; channel_id: TOptional; cast_hash: TOptional; parent_hash: TOptional; parent_url: TOptional; limit: TOptional; cursor: TOptional; }>; execute: (_toolCallId: string, args: unknown) => Promise<{ content: Array<{ type: "text"; text: string; }>; details: unknown; }>; }; //#endregion export { createFarcasterTool }; //# sourceMappingURL=farcaster.d.mts.map