import { type MemoryBudgetUnit } from './MemoryBudgetUnit.ts';
export type MemoryBudgetFields = {
    readonly limit: number;
    readonly unit: MemoryBudgetUnit;
};
/** Immutable limit for git-warp-owned decoded buffers, caches, and windows. */
export default class MemoryBudget {
    readonly limit: number;
    readonly unit: MemoryBudgetUnit;
    constructor(fields: MemoryBudgetFields);
    static bytes(limit: number): MemoryBudget;
    static entries(limit: number): MemoryBudget;
    static patches(limit: number): MemoryBudget;
    static facts(limit: number): MemoryBudget;
    static results(limit: number): MemoryBudget;
}
