import { InjectionToken } from '@angular/core'; import { Observable } from 'rxjs'; import type { Instruction, StorageObject, Criterion, CuiApiContext } from '@cuby-ui/api'; export declare const UTILITY_MODAL_SERVICE_TOKEN: InjectionToken>; export interface UtilityModalService { createUtility(id: string): Observable>; changeTitle(utilityId: string, title: string, context?: CuiApiContext): Observable; changeDescription?(utilityId: string, shortDescription: string, context?: CuiApiContext): Observable; unbindUtility(id: string): Observable>; deleteUtility(utility: StorageObject): Observable; } export type UtilityElement = Instruction | Criterion;