import type { RuntimeEventBus } from '../events/index.js';
import type { EmitterContext } from './index.js';
import type { OpsInterventionReason } from '../../../events/ops.js';
/** Emit OPS_CONTEXT_WARNING when context usage crosses a warning threshold. */
export declare function emitOpsContextWarning(bus: RuntimeEventBus, ctx: EmitterContext, data: {
    usage: number;
    threshold: number;
}): void;
/** Emit OPS_CACHE_METRICS for cache hit-rate and token accounting snapshots. */
export declare function emitOpsCacheMetrics(bus: RuntimeEventBus, ctx: EmitterContext, data: {
    hitRate: number;
    cacheReadTokens: number;
    cacheWriteTokens: number;
    totalInputTokens: number;
    turns: number;
}): void;
/** Emit OPS_HELPER_USAGE for cumulative helper-model token/call snapshots. */
export declare function emitOpsHelperUsage(bus: RuntimeEventBus, ctx: EmitterContext, data: {
    inputTokens: number;
    outputTokens: number;
    calls: number;
}): void;
/** Emit OPS_TASK_CANCELLED and a paired OPS_AUDIT event. */
export declare function emitOpsTaskCancelled(bus: RuntimeEventBus, ctx: EmitterContext, data: {
    taskId: string;
    reason: OpsInterventionReason;
    note?: string | undefined;
    outcome: 'success' | 'rejected' | 'error';
    errorMessage?: string | undefined;
}): void;
/** Emit OPS_TASK_PAUSED and a paired OPS_AUDIT event. */
export declare function emitOpsTaskPaused(bus: RuntimeEventBus, ctx: EmitterContext, data: {
    taskId: string;
    reason: OpsInterventionReason;
    note?: string | undefined;
    outcome: 'success' | 'rejected' | 'error';
    errorMessage?: string | undefined;
}): void;
/** Emit OPS_TASK_RESUMED and a paired OPS_AUDIT event. */
export declare function emitOpsTaskResumed(bus: RuntimeEventBus, ctx: EmitterContext, data: {
    taskId: string;
    reason: OpsInterventionReason;
    note?: string | undefined;
    outcome: 'success' | 'rejected' | 'error';
    errorMessage?: string | undefined;
}): void;
/** Emit OPS_TASK_RETRIED and a paired OPS_AUDIT event. */
export declare function emitOpsTaskRetried(bus: RuntimeEventBus, ctx: EmitterContext, data: {
    taskId: string;
    reason: OpsInterventionReason;
    note?: string | undefined;
    outcome: 'success' | 'rejected' | 'error';
    errorMessage?: string | undefined;
}): void;
/** Emit OPS_AGENT_CANCELLED and a paired OPS_AUDIT event. */
export declare function emitOpsAgentCancelled(bus: RuntimeEventBus, ctx: EmitterContext, data: {
    agentId: string;
    reason: OpsInterventionReason;
    note?: string | undefined;
    outcome: 'success' | 'rejected' | 'error';
    errorMessage?: string | undefined;
}): void;
//# sourceMappingURL=ops.d.ts.map