import ScrappedParte from "../data-structures/ScrappedParte"; import PartesScrapper, { PartesReturn } from "./PartesScrapper"; import { tiposParte } from "../utils"; type ParteCpfCnpjReturn = { dontHaveCpfCnpj: boolean; noCpfCnpjReason: string; cpf: string; cnpj: string; }; export default class Pje1gTjbaParteScrapper extends PartesScrapper { protected macroContainer: Document | HTMLElement; protected static PJE1GTJBA_OAB_REGEX: RegExp; protected divPoloAtivoTbody: HTMLElement; protected divPoloPassivoTbody: HTMLElement; constructor(macroContainer: Document | HTMLElement); fetchParticipantesInfo(): PartesReturn | undefined; protected loadPageCheckpoints(): void; protected getPartes(): PartesReturn; protected getPartesWithoutEnderecos(tbody: HTMLElement, tipoDeParte: tiposParte): ScrappedParte[]; protected getNameFromPje1gTjbaParteString(parteStr: string): string; protected getCpfCnpjFromPje1gTjbaParteString(parteStr: string): string; protected getOabFromPje1gTjbaParteString(parteStr: string): string; protected getParteCpfCnpjFromString(cpfCnpj: string): ParteCpfCnpjReturn; protected getParteAdvogados(parteWrapperTr: HTMLElement): ScrappedParte[]; } export {};