import { type ToolDefinition } from "@opencode-ai/plugin"; import { type PollSnapshot } from "../../runtime"; export type Poller = (fetchSnapshot: () => Promise) => Promise; export declare function extractLatestAssistantText(messages: unknown[]): string | null; export declare function createLookAtTool(poller?: Poller): ToolDefinition; export declare const lookAtTool: ToolDefinition;