import { Got } from 'got'; import { FlinksResponseBase, FlinksStatementsResponse, FlinksLoginResponse, ResponseBase, LoginResponse, StatementsResponse } from '../types'; export interface GetStatementsOptions { requestId: string; numberOfStatements?: string; accountsFilter?: string[]; accessToken?: string; } export interface GetStatementsAsyncOptions { requestId: string; accessToken?: string; } export interface FlinksGetStatementsResponse extends FlinksResponseBase { StatementsByAccount: FlinksStatementsResponse[]; Login: FlinksLoginResponse; Institution: string; RequestId: string; } export interface FlinksGetStatementsAsyncResponse extends FlinksResponseBase { FlinksCode: string; Message: string; RequestId: string; } export interface GetStatementsResponse extends ResponseBase { statementsByAccount: StatementsResponse[]; login: LoginResponse; institution: string; requestId: string; } export interface GetStatementsAsyncResponse extends ResponseBase { flinksCode: string; message: string; requestId: string; } declare const getStatements: (client: Got, options: GetStatementsOptions) => Promise; declare const getStatementsAsync: (client: Got, options: GetStatementsAsyncOptions) => Promise; export { getStatements, getStatementsAsync };