import type { AgentToolResult } from "@oh-my-pi/pi-agent-core"; import type { ToolSession } from "../sdk.js"; import type { ReadToolDetails } from "@oh-my-pi/pi-tui/tools/read"; import { type SuffixMatchCache } from "./read-path-resolution.js"; import { type ParsedSelector } from "./read-selector.js"; import { type PdfPageReadOptions } from "./read-pdf.js"; interface ResolvedArchiveReadPath { absolutePath: string; archiveSubPath: string; suffixResolution?: { from: string; to: string; }; } export declare function resolveArchiveReadPath(session: ToolSession, readPath: string, suffixCache: SuffixMatchCache, signal?: AbortSignal): Promise; export declare function readArchive(session: ToolSession, readPath: string, parsedSel: ParsedSelector, resolvedArchivePath: ResolvedArchiveReadPath, readPdfPage: (options: PdfPageReadOptions) => Promise>, signal?: AbortSignal): Promise>; export {};