/**
* JQHTML v2 jQuery Plugin
*
* Extends jQuery with component method:
* - $(el).component() - Get component instance
* - $(el).component(ComponentClass, args) - Create component
*/
import { Jqhtml_Component } from './component.js';
import type { ComponentConstructor } from './component-registry.js';
declare global {
interface JQuery {
/**
* Get or create a component on this element
*/
component(): Jqhtml_Component | null;
component(ComponentClass: ComponentConstructor, args?: Record): Jqhtml_Component;
component(componentName: string, args?: Record): Jqhtml_Component;
/**
* Find the nearest descendants matching the selector (opposite of closest)
* Returns all descendants that match, but stops traversal at matches
* (does not recurse into matched elements)
*
* Example: $element.shallowFind('.Widget') finds all .Widget descendants
* but excludes any .Widget elements nested inside other .Widget elements
*/
shallowFind(selector: string): JQuery;
}
}
export declare function init_jquery_plugin(jQuery: any): void;
//# sourceMappingURL=jquery-plugin.d.ts.map