import { ComponentInterface } from '../stencil-public-runtime'; /** * Require a parameter by creating a structure error event. * * @param value {string} - Ther incoming value to check * @param name {string} - The parameter name */ export declare function requireValue(value: string, name: string): void; /** * If the value is not undefined, null, or an empty string, return true. * @param {any} value - The value to check. * @returns A function that takes a variable and returns a boolean. */ export declare function hasValue(value: any): boolean; /** * Call `emit` on component events twice. * One for the legacy camel-cased event, one for the new kebab-cased. * e.g. for the event `archerChange` it will do `instance.archerChange.emit()` and `instance.archerChangeLegacy.emit()`. * It expects both `archerChange` and `archerChangeLegacy` event-decorated properties to exist on the component. * @export * @param instance {ComponentInterface} - The component instance, aka `this` * @param eventKey {string} - The event property, e.g. `archerChange` * @param detail {any} - The custom event `detail` * @returns {CustomEvent[]} - The events emitted */ export declare function emitEvent(instance: ComponentInterface, eventKey: string, detail?: any): CustomEvent[]; /** * A utility function that waits for an element to load before executing code. * @param hostElement The host element to check for the target element. * @param selector The CSS selector for the element to wait for. * @param useShadowRoot Whether to search in the host element's shadow root (default is false) * @returns A promise that resolves when the element is loaded. */ export declare const isElementLoaded: (hostElement: HTMLElement, selector: string, useShadowRoot?: boolean) => Promise; export declare function isClickOutside(event: MouseEvent, host: HTMLElement): boolean; export declare const convertToJsx: (el: Element) => any; export declare const getAttributesAsProps: (el: HTMLElement) => { [key: string]: string; };