import { Event } from "@opencode-ai/sdk/v2"; type EventCallback = (event: Event) => void; export declare function subscribeToEvents(directory: string, callback: EventCallback): Promise; export declare function stopEventListening(): void; export {};