/*!
 * Copyright 2020 VMware, Inc.
 * SPDX-License-Identifier: BSD-2-Clause
 */
import { FindableWidget, FindParams } from './widget-object';
/**
 * Finds instances that implement {@link FindableWidget}
 * H is the host component's type
 */
export declare class CypressWidgetFinder {
    /**
     * Finds a single widget object
     * @throws An error if the widget is not found or if there are multiple instances
     */
    find<C, T extends FindableWidget<C>>(params: FindParams<T> | T, parent?: any): InstanceType<T>;
}
