/**
 * Session Notification Handler
 *
 * High-level orchestration for session idle notifications.
 */
import type { PluginInput } from "@opencode-ai/plugin";
import { type NotificationConfig, type NotificationState } from "../../../shared/notification/os-notify/index.js";
import { type Platform } from "../../../shared/os/index.js";
export declare function createSessionNotificationHandler(client: PluginInput["client"], config?: NotificationConfig): {
    registerBackgroundSession: (id: string) => Set<string>;
    unregisterBackgroundSession: (id: string) => boolean;
    getPlatform: () => Platform;
    getState: () => Readonly<NotificationState>;
    handleEvent: (event: {
        type: string;
        properties?: unknown;
    }) => Promise<void>;
};
export type SessionNotificationHandler = ReturnType<typeof createSessionNotificationHandler>;
