/** * Task 1771 — what is still owed on one invoice. * * Every figure here is computed from the invoice's children at read time. None * of them is stored, which is why this tool and the census can never disagree * with each other about the same invoice. */ import type { Session } from "neo4j-driver"; import { type ReadFn } from "./payment-record.js"; import { type ToolResult } from "../lib/types.js"; export interface BalanceParams { session: Session; read: ReadFn; accountId: string; invoiceRef: string; } export declare function balance(params: BalanceParams): Promise; //# sourceMappingURL=balance.d.ts.map