@mxlabs/okxnotify
Version:
OKX notification package with Feishu, Cloudflare Workers, and Gemini AI agent integration - Complete bundle
32 lines (31 loc) • 1.21 kB
TypeScript
import { gemini } from '@mxlabs/notify';
import { isStringContains } from '@mxlabs/util';
declare const batchfetchSearchByKeywordList: (keywordList: string[]) => Promise<{
text: string;
name: string;
createdAt: string;
tweetId: string;
}[]>, batchfetchSearchCommunitiesTop: (keywordList: string[]) => Promise<{
text: string;
name: string;
createdAt: string;
tweetId: string;
}[]>, batchGetTwitterInfo: (kolList: string[], params?: {
lastHours?: number;
}) => Promise<{
text: string;
name: string;
createdAt: string;
tweetId: string;
}[]>;
declare const feishuRicherNotification: (webhookToken: string, params: {
title: string;
messages: string[];
}) => Promise<any>, sendFeishuNotification: (webhookToken: string, message: string) => Promise<any>;
declare const fetchGeminiTextAnlysis: (params: {
text: string;
prompt: string;
model?: import("@mxlabs/notify").GEMINI_MODEL;
generationConfig?: gemini.GEMINI_GENERATION_CONFIG;
}) => Promise<string>;
export { batchfetchSearchByKeywordList, batchfetchSearchCommunitiesTop, batchGetTwitterInfo, feishuRicherNotification, fetchGeminiTextAnlysis, isStringContains, sendFeishuNotification, };