/** * Write the plugin shim into opencode's plugin dir, re-exporting our factory * from the given absolute dist/plugin.js path. Returns the shim path. */ export declare function writeShim(pluginJsAbsPath: string): Promise; /** True if our shim is present in opencode's plugin dir. */ export declare function pluginInstalled(): Promise; /** Remove our shim (leaving any other plugins untouched). Returns true if removed. */ export declare function removeShim(): Promise;