import type { ExtensionAPI } from "@earendil-works/pi-coding-agent"; import type { EnvironmentBackend } from "#environments/backend"; /** Replaces Pi's native workspace tools with selected-environment operations. */ export default function workspace(pi: ExtensionAPI): void; type SearchParameters = { pattern: string; glob?: string; ignoreCase?: boolean; literal?: boolean; context?: number; limit?: number; }; /** * Search the selected backend without making its runtime image depend on ripgrep: * use rg when present, otherwise enumerate regular files and pass them to grep. */ export declare function searchCommand(params: SearchParameters, path: string): string; export declare function workspacePath(backend: EnvironmentBackend, cwd: string, candidate: string): string; export declare function wardenHostPathWarning(backend: EnvironmentBackend, cwd: string, candidate: string): string | undefined; /** Return only a declared MerchantDuo skill asset; project files remain environment-routed. */ export declare function packagedSkillPath(candidate: string): string | undefined; export {};