export class NameDescriptionAndId {
    constructor(id, name, description) {
        this.id = id;
        this.name = name;
        this.description = description !== null && description !== void 0 ? description : "";
    }
}
export class IFormStorage {
}
export class FormStorage {
    hasFormStorageService() {
        return (this.storageService !== null);
    }
    getStorageService() {
        if (!this.storageService)
            throw new Error('No storage service configured');
        return this.storageService;
    }
    setStorageService(storageService) {
        this.storageService = storageService;
    }
}
//# sourceMappingURL=IFormStorage.js.map