import { BunqKey } from "./BunqKey"; import { BunqServerConnection, SessionCreator } from "./BunqInterfaces"; export declare class BunqApi { constructor(aConnection: BunqServerConnection, privateKey: BunqKey, aSecretApiKey: string, aSessionCreator: SessionCreator, aSessionFilename: string, aSessionHistoryPath: string); updateSession(): Promise; requestAndStoreSessionToken(): Promise; getSessionToken(): string; requestUser(): Promise; requestSomething(): Promise; requestMonetaryAccountBank(userId: string, accountId?: string): Promise; requestPayments(userId: string, accountId: string): Promise; sendPayment(userId: string, accountId: string, value: string, iban: string, name: string, description: string): Promise; installNotificationFilter(userId: string, accountId: string, url: string): Promise; private createOptions(method, endPoint, body?); private static createDefaultOptions(); setPubBunqKeyPem(pem: string): void; private request(options); private verifiedRequest(options); private sessionCreator; private connection; private apiKey; private privateKey; private sessionToken; private sessionFilename; private sessionHistoryPath; private pubBunqKey; }