export declare class ElementPool {
    private pool;
    private usedElements;
    private document;
    constructor(document: Document);
    /**
     * Get an element from the pool
     *
     * @param name - tag name of the element
     * @returns the element
     */
    get(name: string): HTMLElement;
    private isFree;
    /**
     * Release an element from the pool so that it can be reused
     *
     * @param element - the element to release from the pool
     */
    release(element: HTMLElement): void;
    /**
     * Release all elements from the pool so that they can be reused
     */
    releaseAll(): void;
    /**
     * Remove all elements from the pool and makes them available for garbage
     * collection
     */
    clear(): void;
    private createElement;
}
//# sourceMappingURL=element-pool.d.ts.map