import { Actor } from '@testla/screenplay'; import { Selector, SelectorOptions } from '../types'; import { FrameEnabledAction } from '../templates/FrameEnabledAction'; /** * Action Class. Count elements. */ export declare class Count extends FrameEnabledAction { private selector; private options?; private constructor(); /** * Counts the number of elements satisfying the given Selector. * * @param {Actor} actor Actor performing this action * @return {any} Clears context cookies */ performAs(actor: Actor): Promise; /** * Count all elements for a given selector * @return {Count} new Count instance */ static elements(selector: Selector, options?: SelectorOptions): Count; }