import { AuthoringAsset, AuthoringContentItem, BaseAuthoringItem, User } from "@acoustic-content-sdk/api"; import { AccessorType } from "@acoustic-content-sdk/edit-api"; import { Updater } from "../update"; /** * Updates properties of the item that depend on the environment * * @param aItem - updater for the item * @param aUser - optionally the current user * @returns the updater after the item has been modified */ export declare function updateGenericProperties(aItem: Updater, aUser?: User): Updater; export declare function updateImageElement(aAccessor: AccessorType, aItem: Updater, aAsset: AuthoringAsset): Updater; /** * Retrieves a property value by accessor */ export declare const getValueByAccessor: (aItem: BaseAuthoringItem, aAccessor: string) => T; /** * Updates a single property based on the accessor expression. * * @param aAccessor - the accessor expression that points * @param aValue - the new value * @param aItem - the item to update * * @returns a copy of the item with the modified value */ export declare function updateValueByAccessor(aAccessor: AccessorType, aValue: any, aItem: T, aUser?: User): Updater; export declare function removeArrayItemByAccessor(aAccessor: AccessorType, aItem: T, aUser?: User): Updater;