import type { DiffObject, Transaction } from './types'; export interface ApiAuthData { username: string; password: string; apiKey: string; apiSecret: string; } declare class ZenmoneyApi { getToken(authData: ApiAuthData): Promise; setToken(token: string): void; authorize(authData: ApiAuthData): Promise; diff({ currentClientTimestamp, serverTimestamp, }?: DiffObject): Promise; suggest>(transaction: T): Promise; } export declare const zenmoneyApi: ZenmoneyApi; export {};