import type { Instance } from '../types/Instance'; /** * Query an element and make sure it's the correct type * @param selector Selector string * @param instance Instance target of the element type. Example: HTMLElement * @param scope The scope context where to query. Defaults to document * @returns The queried element or undefined */ export declare const queryElement: (selector: string, instance: Instance, scope?: ParentNode) => T | undefined;