import { Matrix, Point } from '../math'; import type { RenderObject } from './render-object'; export type HitTestFunction = (result: HitTestResult, position: Point) => boolean; export declare class HitTestEntry { readonly target: RenderObject; readonly position: Point; constructor(target: RenderObject, position: Point); _transform?: Matrix; } export declare class HitTestResult { readonly path: HitTestEntry[]; private readonly _transforms; private readonly _localTransforms; private globalizeTransforms; private get lastTransform(); add(entry: HitTestEntry): void; private pushOffset; private popTransform; addWithPaintOffset(offset: Point, position: Point, hitTest: HitTestFunction): boolean; }