import { type PartialWithUndefined } from '@augment-vir/common';
/**
 * Options for {@link queryThroughShadow}.
 *
 * @category Web : Elements
 * @category Package : @augment-vir/web
 * @package [`@augment-vir/web`](https://www.npmjs.com/package/@augment-vir/web)
 */
export type QueryThroughShadowOptions = PartialWithUndefined<{
    all: boolean;
}>;
export declare function queryThroughShadow(element: Element | ShadowRoot, query: string | {
    tagName: string;
}, options: {
    all: true;
}): Element[];
export declare function queryThroughShadow(element: Element | ShadowRoot, query: string | {
    tagName: string;
}, options?: {
    all?: false | undefined;
}): Element | undefined;
export declare function queryThroughShadow(element: Element | ShadowRoot, query: string | {
    tagName: string;
}, options?: QueryThroughShadowOptions): Element | Element[] | undefined;
