import { Context } from '@deepseek-ai/cordis'; /** Cordis plugin name; referenced by the runtime patch row. */ declare const name = "lark-ask"; /** Requires the dsh tool registry before registering. */ declare const inject: string[]; interface Config { /** Localhost callback URL of the running bridge process (/ask). */ endpoint?: string; /** Shared token authorizing the callback. */ token?: string; } /** The user may take a while to answer a card; keep the tool well above the * default run-timeout so the question itself is not what kills the task. */ declare const ASK_TOOL_TIMEOUT_MS = 600000; /** * dsh tool that asks the user a question through a Feishu/Lark card when the * agent needs a decision, confirmation, or missing information before * proceeding. The bridge runs a localhost-only callback server; this plugin * is the runtime side of that channel: it posts the question and blocks until * the human answers the card. */ declare function apply(ctx: Context, config?: Config): void; export { ASK_TOOL_TIMEOUT_MS, type Config, apply, inject, name };