Files
oh-my-opencode/dist/hooks/atlas/event-handler.d.ts
T
2026-03-14 04:56:50 +00:00

14 lines
427 B
TypeScript

import type { PluginInput } from "@opencode-ai/plugin";
import type { AtlasHookOptions, SessionState } from "./types";
export declare function createAtlasEventHandler(input: {
ctx: PluginInput;
options?: AtlasHookOptions;
sessions: Map<string, SessionState>;
getState: (sessionID: string) => SessionState;
}): (arg: {
event: {
type: string;
properties?: unknown;
};
}) => Promise<void>;