/** * Task 1771 — the whole position: who owes you, who you owe, and net cash. * * Receivables and payables are aged into 0-30 / 31-60 / 61-90 / 90+ buckets by * days past their due date. Net cash is money in minus money out across * :CashEntry, which is deliberately separate from the invoice totals: a cash * entry is settled by definition and never appears in an ageing bucket. */ import type { Session } from "neo4j-driver"; import { type OpenInvoice } from "../../../../../lib/ledger-core/dist/index.js"; import { type ToolResult } from "../lib/types.js"; export interface StatementRows { receivables: OpenInvoice[]; payables: OpenInvoice[]; cashIn: number; cashOut: number; } export type StatementReadFn = (session: Session, accountId: string) => Promise; export interface StatementParams { session: Session; read: StatementReadFn; accountId: string; now: number; } export declare function statement(params: StatementParams): Promise; //# sourceMappingURL=statement.d.ts.map