import { JournalEntry } from './skr.classes.journalentry.js'; import { JournalPoster } from './skr.posting.js'; import type { IJournalEntry, ITransactionData, ITransactionFilter, ITransactionView, TSKRType } from './skr.types.js'; /** * Validate and post a debit/credit transaction as a two-line journal entry. * Returns its transaction-shaped view. */ export declare function postTransactionInput(skrType: TSKRType, transactionData: ITransactionData, poster?: JournalPoster): Promise; /** * Validate and post a float-amount journal entry; amounts become exact cents * with a drift guard. Returns the hashed, immutable entry. */ export declare function postJournalInput(skrType: TSKRType, journalData: IJournalEntry, poster?: JournalPoster): Promise; /** * Reverse an entry via Storno — the original is never mutated (GoBD). * Returns the Storno entry. */ export declare function reverseJournalInput(skrType: TSKRType, entryId: string, poster?: JournalPoster): Promise; /** Reverse a two-line entry via Storno; returns the Storno's transaction view. */ export declare function reverseTransactionInput(skrType: TSKRType, transactionId: string, poster?: JournalPoster): Promise; /** * Transaction views (two-line posted/finalized entries) of a chart, filtered * like the classic transaction list. */ export declare function listTransactionViews(skrType: TSKRType, filter?: ITransactionFilter): Promise;