import '@lume/custom-attributes/dist/index.js'; import type { CustomAttribute } from '@lume/custom-attributes/dist/index.js'; import { CancelablePromise } from './CancelablePromise.js'; import type { ElementWithBehaviors, PossibleBehaviorInstance } from './BehaviorRegistry.js'; import { BehaviorMap } from './BehaviorMap.js'; /** * Defines the global `has=""` attribute for assigning behaviors to an element. * * One instance of this class is instantiated per element with `has=""` attribute. * * If you're using element-behaviors, then all elements now also have a * `behaviors` property that is a map of behavior names to behavior instances. */ export declare class HasAttribute implements CustomAttribute { #private; ownerElement: ElementWithBehaviors; value: string; name: string; get behaviors(): BehaviorMap; observers: Map; elementDefinedPromises: Map>; isConnected: boolean; connectedCallback(): void; disconnectedCallback(): void; changedCallback(oldVal: string, newVal: string): void; private getBehaviorNames; private getDiff; private handleDiff; private connectBehavior; private disconnectBehavior; destroyAttributeObserver(behavior: PossibleBehaviorInstance): void; createAttributeObserver(behavior: PossibleBehaviorInstance): void; fireInitialAttributeChangedCallbacks(behavior: PossibleBehaviorInstance, attributes: string[]): void; } //# sourceMappingURL=HasAttribute.d.ts.map