/** * Persistent change note store. * Stores change notes from partial unshields so they can be spent in subsequent operations. * * Uses a JSON file in the user's home directory (~/.b402/change-notes.json). * Falls back to in-memory if file I/O fails (browser environment). */ export interface StoredChangeNote { [key: string]: any; } export declare function storeChangeNote(walletKey: string, note: StoredChangeNote): void; export declare function getChangeNotes(walletKey: string): StoredChangeNote[]; /** Alias for getChangeNotes (used by utxo-fetcher) */ export declare const getStoredChangeNotes: typeof getChangeNotes; export declare function removeChangeNote(walletKey: string, noteHash: string): void; export declare function clearChangeNotes(walletKey?: string): void;