/**
* A base class for creating objects which wrap a DOM node.
*/
export declare class NodeWrapper {
/**
* Create the DOM node for a new node wrapper instance.
*
* @returns The DOM node to use with the node wrapper instance.
*
* #### Notes
* The default implementation creates an empty `
`.
*
* This may be reimplemented by a subclass to create a custom node.
*/
static createNode(): HTMLElement;
/**
* Construct a new node wrapper.
*/
constructor();
/**
* Get the DOM node managed by the wrapper.
*
* #### Notes
* This property is read-only.
*/
node: HTMLElement;
/**
* Get the id of the wrapper's DOM node.
*/
/**
* Set the id of the wrapper's DOM node.
*/
id: string;
/**
* Test whether the wrapper's DOM node has the given class name.
*
* @param name - The class name of interest.
*
* @returns `true` if the node has the class, `false` otherwise.
*/
hasClass(name: string): boolean;
/**
* Add a class name to the wrapper's DOM node.
*
* @param name - The class name to add to the node.
*
* #### Notes
* If the class name is already added to the node, this is a no-op.
*/
addClass(name: string): void;
/**
* Remove a class name from the wrapper's DOM node.
*
* @param name - The class name to remove from the node.
*
* #### Notes
* If the class name is not yet added to the node, this is a no-op.
*/
removeClass(name: string): void;
/**
* Toggle a class name on the wrapper's DOM node.
*
* @param name - The class name to toggle on the node.
*
* @param force - Whether to force add the class (`true`) or force
* remove the class (`false`). If not provided, the presence of
* the class will be toggled from its current state.
*
* @returns `true` if the class is now present, `false` otherwise.
*/
toggleClass(name: string, force?: boolean): boolean;
private _node;
}