import { ButtonData, PopupData } from './types';
export declare function checkHeuristicPatterns(allText: string, detectPatterns?: RegExp[]): {
    patterns: string[];
    snippets: string[];
};
export declare function getActionablePopups(): PopupData[];
export declare function classifyButtons(buttons: ButtonData[]): {
    rejectButtons: ButtonData[];
    otherButtons: ButtonData[];
};
export declare function isRejectButton(buttonText: string, rejectPatterns?: (string | RegExp)[], neverMatchPatterns?: RegExp[]): boolean;
export declare function cleanButtonText(buttonText: string): string;
/**
 * Serialize all actionable buttons on the page
 */
export declare function getButtonData(el: HTMLElement): ButtonData[];
export declare function isDisabled(el: HTMLElement): boolean;
/**
 * Leave only elements that do not contain any other elements
 */
export declare function excludeContainers(elements: HTMLElement[]): HTMLElement[];
