/** * @license * Copyright 2025 Qwen * SPDX-License-Identifier: Apache-2.0 */ import type { SessionUpdate } from '@agentclientprotocol/sdk'; import type { SessionContext } from '../types.js'; /** * Abstract base class for all session event emitters. * Provides common functionality and access to session context. */ export declare abstract class BaseEmitter { protected readonly ctx: SessionContext; constructor(ctx: SessionContext); /** * Converts an ISO timestamp string or epoch ms to epoch ms number. * Returns undefined if the input is not a valid timestamp. */ protected static toEpochMs(ts?: string | number): number | undefined; /** * Sends a session update to the ACP client. */ protected sendUpdate(update: SessionUpdate): Promise; /** * Gets the session configuration. */ protected get config(): import("@aetherai/aether-core").Config; /** * Gets the session ID. */ protected get sessionId(): string; }