import type { AutoSlashCommandHookInput, AutoSlashCommandHookOutput, CommandExecuteBeforeInput, CommandExecuteBeforeOutput } from "./types"; import type { LoadedSkill } from "../../features/opencode-skill-loader"; export interface AutoSlashCommandHookOptions { skills?: LoadedSkill[]; pluginsEnabled?: boolean; enabledPluginsOverride?: Record; } export declare function createAutoSlashCommandHook(options?: AutoSlashCommandHookOptions): { "chat.message": (input: AutoSlashCommandHookInput, output: AutoSlashCommandHookOutput) => Promise; "command.execute.before": (input: CommandExecuteBeforeInput, output: CommandExecuteBeforeOutput) => Promise; event: ({ event, }: { event: { type: string; properties?: unknown; }; }) => Promise; dispose: () => void; };