import type { PluginInput } from '@opencode-ai/plugin'; /** * OpenCode Diff Plugin * * A plugin that provides enhanced diff viewing and interaction capabilities * for OpenCode. It intercepts file edit operations and displays rich diffs * with syntax highlighting and navigation features. */ /** * Main plugin factory function * * @param context - The OpenCode plugin context * @returns Plugin instance */ export declare function DiffPlugin(context: PluginInput): Promise<{ 'tool.execute.before'?: undefined; 'tool.execute.after'?: undefined; } | { 'tool.execute.before': (input: { tool: string; sessionID: string; callID: string; }, output: { args: unknown; }) => Promise; 'tool.execute.after': (input: { tool: string; sessionID: string; callID: string; }) => Promise; }>; export type { PluginConfig, KeybindingConfig, ConfigValidationError } from './config.js'; //# sourceMappingURL=index.d.ts.map