import { auditBilling } from '../../../modules/claude-invocation/usecases/auditBilling.usecase.js';
import { checkSupervisorHealth } from '../../../modules/claude-invocation/usecases/checkSupervisorHealth.usecase.js';
export function startClaudeInvocationTimers(input) {
    const supervisorTimer = setInterval(() => {
        void checkSupervisorHealth({
            sessionGateway: input.sessionGateway,
            supervisorHealthGateway: input.supervisorHealthGateway,
            now: input.now,
        });
    }, input.supervisorIntervalMs);
    const billingTimer = setInterval(() => {
        void auditBilling({
            billingStateGateway: input.billingStateGateway,
            now: input.now,
        });
    }, input.billingIntervalMs);
    return () => {
        clearInterval(supervisorTimer);
        clearInterval(billingTimer);
    };
}
//# sourceMappingURL=claudeInvocationTimers.js.map