/**
 * OpenClaw SDK compatibility layer — dynamic import wrappers with caching.
 *
 * Each wrapper attempts to import a deep SDK module at runtime. If the import
 * fails (older gateway, missing SDK), the function returns a no-op result.
 * Results are cached after the first attempt.
 *
 * IMPORTANT: All imports are guarded by try/catch — the plugin degrades
 * gracefully on older OpenClaw versions.
 */
import type { AgentEventPayload, TranscriptUpdatePayload } from "./openclaw-types.js";
/**
 * Request an immediate heartbeat wake from the OpenClaw gateway.
 * Returns true if the heartbeat API was available and called, false otherwise.
 * Never throws.
 */
export declare function requestHeartbeatNow(opts?: {
    reason?: string;
}): Promise<boolean>;
type AgentEventCallback = (event: AgentEventPayload) => void;
/**
 * Subscribe to agent-level events (tool_use, reasoning_complete, error, etc.).
 * Returns an unsubscribe function, or a no-op if the API is unavailable.
 */
export declare function onAgentEvent(callback: AgentEventCallback): Promise<() => void>;
type TranscriptCallback = (update: TranscriptUpdatePayload) => void;
/**
 * Subscribe to session transcript updates for behavioral analysis.
 * Returns an unsubscribe function, or a no-op if the API is unavailable.
 */
export declare function onSessionTranscriptUpdate(callback: TranscriptCallback): Promise<() => void>;
export {};
//# sourceMappingURL=openclaw-compat.d.ts.map