import { AxiosResponse } from 'axios'; import { Config } from './config'; import Request from './request'; import { CasdoorResponse } from './util'; export interface Transaction { owner: string; name: string; createdTime?: string; displayName?: string; application?: string; domain?: string; category?: string; type?: string; subtype?: string; provider?: string; user?: string; tag?: string; amount?: number; currency?: string; payment?: string; state?: string; } export declare class TransactionSDK { private config; private readonly request; constructor(config: Config, request: Request); getTransactions(): Promise, any>>; getPaginationTransactions(p: number, pageSize: number, queryMap?: Record): Promise, any>>; getTransaction(name: string): Promise, any>>; getUserTransactions(userName: string): Promise, any>>; addTransactionWithDryRun(transaction: Transaction, dryRun: boolean): Promise, any>>; modifyTransaction(method: string, transaction: Transaction, columns?: string[], params?: Record): Promise, any>>; addTransaction(transaction: Transaction): Promise, any>>; updateTransaction(transaction: Transaction): Promise, any>>; deleteTransaction(transaction: Transaction): Promise, any>>; }