/*!
 * KoliBri - The accessible HTML-Standard
 */
function throwNoStateAccess() {
    throw new Error('This controller does not use component state.');
}
export class BaseWebComponent {
    constructor() {
        this.stateAccess = {
            setState: (key, value) => {
                this[key] = value;
            },
            getState: (key) => {
                return this[key];
            },
        };
    }
}
BaseWebComponent.stateLess = Object.freeze({
    setState: throwNoStateAccess,
    getState: throwNoStateAccess,
});
//# sourceMappingURL=base-web-component.js.map
