/**
 * Phase B: Offender Scanner - Detect any element exceeding safe bounds
 *
 * Traverses screen.children recursively and logs any element where:
 * - rightEdge >= safeCols OR
 * - bottomEdge >= safeRows
 *
 * Logs to file (not stdout) to prevent log overflow from causing scrollbars.
 */
import type { Widgets } from 'neo-blessed';
export interface OffenderInfo {
    type: string;
    left: number;
    top: number;
    width: number;
    height: number;
    rightEdge: number;
    bottomEdge: number;
    contentPreview: string;
    path: string[];
}
/**
 * Phase B: Recursive offender scanner
 * Traverses element tree and finds any element exceeding safe bounds
 */
export declare function scanOffenders(element: any, safeCols: number, safeRows: number, offenders?: OffenderInfo[], path?: string[]): OffenderInfo[];
/**
 * Phase B: Main scanner function - logs offenders to file
 */
export declare function scanAndLogOffenders(screen: Widgets.Screen, safeCols: number, safeRows: number): OffenderInfo[];
//# sourceMappingURL=offenderScanner.d.ts.map