UNPKG

captide

Version:

Get hundreds of thousands of financial documents into your AI app 🚀

29 lines (28 loc) • 1.12 kB
import { FileType } from '../../../types'; /** * Process HTML content for 8-K documents to identify page breaks and create page containers * @param html Raw HTML content * @returns Processed HTML with page containers */ export declare const processHtmlForPageBreaks: (html: string) => string; /** * Special processor for slide deck format 8-K documents * These have a specific structure with image slides followed by page breaks */ export declare const processSlideDeckFormat: (html: string) => string; /** * Helper function to check if document is an international filing type */ export declare const isInternationalFiling: (sourceType: string) => boolean; /** * Helper function to check if document is a proxy statement */ export declare const isProxyStatement: (sourceType: string) => boolean; /** * Helper function to check if document is an IR document */ export declare const isIRDocument: (sourceType: string) => boolean; /** * Helper function to check if document is a binary document (PDF or Excel) */ export declare const isBinaryDocument: (sourceType: string, fileType?: FileType) => boolean;