import type { Database } from "bun:sqlite";
export interface AgentBudget {
    agent_id: string;
    max_concurrent: number;
    max_cost_usd: number | null;
    max_task_minutes: number | null;
    period_hours: number;
    created_at: string;
    updated_at: string;
}
export interface BudgetCheck {
    allowed: boolean;
    reason?: string;
    current_concurrent: number;
    max_concurrent: number;
    current_cost_usd?: number;
    max_cost_usd?: number;
}
export declare function setBudget(agentId: string, opts: {
    max_concurrent?: number;
    max_cost_usd?: number | null;
    max_task_minutes?: number | null;
    period_hours?: number;
}, db?: Database): AgentBudget;
export declare function getBudget(agentId: string, db?: Database): AgentBudget | null;
export declare function checkBudget(agentId: string, db?: Database): BudgetCheck;
//# sourceMappingURL=budgets.d.ts.map