import { type Page } from 'puppeteer'; import { type TransactionsAccount } from '../transactions'; import { BaseScraperWithBrowser, type PossibleLoginResults } from './base-scraper-with-browser'; export declare function getPossibleLoginResults(): PossibleLoginResults; export declare function createLoginFields(credentials: ScraperSpecificCredentials): { selector: string; value: string; }[]; export declare function waitForPostLogin(page: Page): Promise; type ScraperSpecificCredentials = { username: string; password: string; }; declare class BeinleumiGroupBaseScraper extends BaseScraperWithBrowser { BASE_URL: string; LOGIN_URL: string; TRANSACTIONS_URL: string; getLoginOptions(credentials: ScraperSpecificCredentials): { loginUrl: string; fields: { selector: string; value: string; }[]; submitButtonSelector: string; postAction: () => Promise; possibleResults: PossibleLoginResults; preAction: () => Promise; }; fetchData(): Promise<{ success: boolean; accounts: TransactionsAccount[]; }>; } export default BeinleumiGroupBaseScraper;