// #region Imports
import { AsyncDirective, directive } from 'lit/async-directive.js';
/**
 * The base class for all async directives.
 *
 * @public
 * @abstract
 */
export class AsyncDirectiveBase extends AsyncDirective {
    // #region Fields
    _internals;
    // #endregion
    // #region Ctor
    /**
     * Constructs a new instance of the `AsyncDirectiveBase` class.
     *
     * @protected
     */
    constructor(args) {
        super(args);
        this._internals = {
            element: args.element,
            name: args.name,
            options: args.options,
            type: args.type
        };
    }
    // #endregion
    // #region Properties
    /**
     * Returns the `internals` property.
     *
     * @protected
     * @readonly
     */
    get internals() {
        return this._internals;
    }
}
export { PartType } from 'lit/async-directive.js';
/**
 * Composes a async directive.
 */
export function compose(c) {
    return directive(c);
}
//# sourceMappingURL=AsyncDirectiveBase.js.map