import { UnaryFunction } from 'rxjs'; import { BaseAuthoringItem } from '@acoustic-content-sdk/api'; /** * Makes sure to end the ID with a draft suffix * * @param aAuthoringId - the actual ID * @returns the ID with a draft suffix */ export declare const ensureDraftId: (aAuthoringId: string) => string; /** * Tests if the authoring ID has a draft suffix * * @param aAuthoringId - the ID * @returns true if we have a draft suffix, else false */ export declare function isDraftId(aAuthoringId: string): boolean; /** * Returns the delivery ID from an authoring ID, i.e. strips off the ':draft' suffix from the ID * * @param authoringId - the authoring ID * @returns the resulting delivery ID */ export declare const getDeliveryId: UnaryFunction; export interface ItemWithLinkedDocId { readonly id?: string; readonly linkedDocId?: string; } /** * Returns the delivery ID from an authoring item. * * @param authoringItem - the authoring item * @returns the resulting delivery ID */ export declare const getDeliveryIdFromAuthoringItem: UnaryFunction;