import { Descriptor } from 'hybrids';
/**
* Gets a reference to an element in the shadowDOM. This property cannot be used during render to prevent circular references.
* ```
* define({
* canvas: ref('canvas.container'),
* render: () => html`
*
* `,
* })
* ```
* @category Ref
* @param query the querySelector query
* @returns a reference to an element in the shadowDOM
*/
export declare const ref: (query: string) => Descriptor;
/**
* Gets all references to elements in the shadowDOM. This property cannot be used during render to prevent circular references.
* ```
* define({
* children: refs('div.child'),
* render: () => html`
*
*
* `,
* })
* ```
* @category Ref
* @param queryAll the querySelectorAll query
* @returns references to all elements in the shadowDOM
*/
export declare const refs: (queryAll: string) => Descriptor;