export class EnforceBudgetUseCase {
    deps;
    constructor(deps) {
        this.deps = deps;
    }
    async execute({ localPaths, now }) {
        const status = await this.deps.getBudgetStatus.execute({ localPaths, now });
        return {
            accepted: !status.exceeded,
            status,
        };
    }
}
//# sourceMappingURL=enforceBudget.usecase.js.map