import { VueWidget, Widget } from '@oinone/kunlun-vue-widget';
import { ActionWidget } from '../action/component';
import { BaseSearchWidget } from '../basic/BaseSearchWidget';
export declare const queryDslWidget: <T extends VueWidget<import("@oinone/kunlun-engine").WidgetProps>>(widgets: Widget[] | undefined, widgetClazz: new () => T, findChildren?: boolean) => T | null;
/**
 * 在表格字段内查找操作栏动作条组件
 * @param widgets
 * @param draftId
 */
export declare const queryRowActionBar: (widgets: Widget[], draftId: string) => any;
/**
 * 通过弹窗的视图handle查找弹窗底部的动作
 * @param dialogViewHandle 弹窗内的视图handle
 * @param actionLabel 动作标题
 */
export declare const queryActionByDialogViewHandle: (dialogViewHandle: string, actionLabel: string) => ActionWidget | null;
/**
 * 通过视图handle查找弹窗底部的动作
 * @param viewHandle 视图handle
 * @param actionLabel 动作标题
 */
export declare const queryActionByViewHandle: (viewHandle: string, actionLabel: string) => ActionWidget | null;
export declare const queryActionInActionBar: (actionBar: Widget, actionLabel: string) => ActionWidget | null;
/**
 * 通过视图handle查找搜索组件
 * @param viewHandle
 */
export declare const querySearchWidgetByViewHandle: (viewHandle: string) => BaseSearchWidget | null;
