import type { HeartbeatTask, HeartbeatTaskRunRecord } from '../tasks/index.js';
import type { RunDueHeartbeatTasksOptions, RunDueHeartbeatTasksResult } from './types.js';
export declare class HeartbeatTaskRunnerService {
    static runTask(options: Pick<RunDueHeartbeatTasksOptions, 'store' | 'runner' | 'runtime' | 'onEvent' | 'failureRetryMs'> & {
        task: HeartbeatTask;
        runAt: Date;
    }): Promise<{
        record?: HeartbeatTaskRunRecord;
        failed: boolean;
    }>;
    static runTaskById(options: RunDueHeartbeatTasksOptions & {
        taskId: string;
    }): Promise<RunDueHeartbeatTasksResult>;
    private static runAgent;
    private static resolveRunnerAgentOptions;
    private static startedEvent;
    private static failedEvent;
    private static denyInteractiveToolCall;
}
//# sourceMappingURL=runner.d.ts.map