Files
oh-my-opencode/dist/hooks/auto-update-checker/hook/update-toasts.d.ts
T
2026-03-14 04:56:50 +00:00

4 lines
353 B
TypeScript

import type { PluginInput } from "@opencode-ai/plugin";
export declare function showUpdateAvailableToast(ctx: PluginInput, latestVersion: string, getToastMessage: (isUpdate: boolean, latestVersion?: string) => string): Promise<void>;
export declare function showAutoUpdatedToast(ctx: PluginInput, oldVersion: string, newVersion: string): Promise<void>;