import type { WebClient } from '@slack/web-api'; import type { AgentConfig } from '../../shared/agent-config.js'; import { createFeishuMessageClient as createDefaultFeishuMessageClient, type FeishuMessageClient } from '../feishu/client.js'; import type { FeishuInboxItem, FeishuOnboardingInboxItem, InboxItem, SlackInboxItem } from '../../shared/inbox.js'; export interface ToolActivityAudit { agentId: string; } export declare function withToolActivity(input: { audit?: ToolActivityAudit; basePayload: Record; effectType?: string; op: () => Promise<{ result: T; completedPayload?: Record; }>; }): Promise; export declare function resolveToolAgentId(opts: { agent?: string; }): string | undefined; export declare function resolveToolItemId(opts: { agent?: string; item?: string; }): Promise; export declare function currentToolItem(agentId: string, opts: { agent?: string; item?: string; }): Promise; export declare function currentSlackItem(agentId: string, opts: { agent?: string; item?: string; }): Promise; export declare function currentFeishuItem(agentId: string, opts: { agent?: string; item?: string; }): Promise; export declare function loadAgentFromOpts(opts: object): Promise; export declare function slackWebClientForOpts(opts: object): Promise<{ agent: AgentConfig; client: WebClient; }>; export declare function feishuMessageClientForOpts(opts: object, createClient?: typeof createDefaultFeishuMessageClient): Promise<{ agent: AgentConfig; client: FeishuMessageClient; }>; export declare function readStdin(): Promise; //# sourceMappingURL=tool-context.d.ts.map