import type * as CandidApi from "../../../index"; /** * Represents an active balance earmarking record that holds allocated funds for future auto-allocation. * Earmarks are created when funds are allocated but should be held for a specific encounter or date of service. * Only active (non-deleted) earmarks are returned. */ export interface BalanceEarmark { id: string; /** The target for this earmark (date of service or external encounter ID) */ target: CandidApi.AllocationEarmarkType; /** The amount earmarked in cents for future allocation */ amountEarmarkedCents?: number; /** The ID of the allocation that created this earmark */ createdByAllocationId?: string; }