splid-js-googlesheet-updater/node_modules/splid-js/dist/mjs/getSuggestedPayments.d.ts
2025-05-27 21:06:02 +02:00

11 lines
382 B
TypeScript

import { Balance } from './getBalance';
export type SuggestedPayment = {
from: string;
to: string;
amount: string;
};
export type SuggestedPayments = SuggestedPayment[];
/**
* these aren't a 1:1 match to the suggestions generated by the Splid App, but they are equally efficient.
*/
export declare const getSuggestedPayments: (balance: Balance) => SuggestedPayment[];