import { Bindable } from '@lib/Bindable'; import { Callback } from '@lib/Callback'; export declare class Necktie { private readonly _parent; private readonly _window; private readonly _document; private readonly _selectorsToCallbacks; private readonly _nodesToBinds; private readonly _dummyFragment; private _mutationObserver; private _areAttributesObserved; private _isListening; constructor(parent?: ParentNode, _window?: Window & typeof globalThis, _document?: Document); bind(selector: string, callback: Callback): this; bindClass(selector: string, Bindable: Bindable): this; observeAttributes(isEnabled?: boolean): this; startListening(): this; stopListening(): this; private _isSelectorValid; private _bindNodes; private _unbindNodes; private _rebindNode; private _bindToDOM; private _onDocumentUnload; }