import type { AgentTool } from '@earendil-works/pi-agent-core'; /** Provider-visible tool order is part of the cached prompt prefix. */ export declare function sortToolsForPromptCache>(tools: readonly T[]): T[];