import type { ExecutionContext, TypedExecutionContext } from '../../types/base-types';
export declare function resolveElement(target: string | HTMLElement | undefined, context: ExecutionContext | TypedExecutionContext): HTMLElement;
export declare function resolveElements(target: string | HTMLElement | HTMLElement[] | NodeList | undefined, context: ExecutionContext | TypedExecutionContext): HTMLElement[];
export declare function asHTMLElement(value: unknown): HTMLElement;
export declare function isContextRef(target: string): boolean;
export declare function isCSSSelector(target: string): boolean;
export declare function findClosest(element: HTMLElement, selector: string): HTMLElement | null;
export declare function findAll(element: HTMLElement, selector: string): HTMLElement[];
export declare function resolvePossessive(possessive: string, context: ExecutionContext | TypedExecutionContext): HTMLElement;
export interface ResolveTargetsOptions {
    filterPrepositions?: boolean;
    fallbackModifierKey?: string;
}
export declare function resolveTargetsFromArgs(args: unknown[], evaluator: {
    evaluate: (arg: any, context: any) => Promise<any>;
}, context: ExecutionContext | TypedExecutionContext, commandName: string, options?: ResolveTargetsOptions, modifiers?: Record<string, unknown>): Promise<HTMLElement[]>;
//# sourceMappingURL=element-resolution.d.ts.map