import { Options } from "../models/options"; import { ClientInstance } from "./clientInstance"; import { ContentItem, ContentList } from "../models/contentItem"; import { BatchMethods } from "./batchMethods"; import { ContentListFilterModel } from "../models/contentListFilterModel"; import { ContentItemHistory } from "../models/contentItemHistory"; import { ItemComments } from "../models/itemComments"; import { ListParams } from "../models/listParams"; import { WorkflowOperationType } from "../enums/workflowOperationType"; export declare class ContentMethods { _options: Options; _clientInstance: ClientInstance; _batchMethods: BatchMethods; constructor(options: Options); getContentItem(contentID: number, guid: string, locale: string): Promise; publishContent(contentID: number, guid: string, locale: string, comments?: string, returnBatchId?: boolean): Promise; unPublishContent(contentID: number, guid: string, locale: string, comments?: string, returnBatchId?: boolean): Promise; /** * Perform a batch workflow operation on multiple content items. * Supports Publish, Unpublish, Approve, Decline, and RequestApproval operations. * @param contentIDs Array of content IDs to process * @param guid The GUID of the user making the request * @param locale The locale of the content items * @param operation The workflow operation type (Publish, Unpublish, Approve, Decline, RequestApproval) * @param returnBatchId Whether to return the batch ID immediately * @returns The IDs of the processed content items */ batchWorkflowContent(contentIDs: number[], guid: string, locale: string, operation: WorkflowOperationType, returnBatchId?: boolean): Promise; contentRequestApproval(contentID: number, guid: string, locale: string, comments?: string, returnBatchId?: boolean): Promise; approveContent(contentID: number, guid: string, locale: string, comments?: string, returnBatchId?: boolean): Promise; declineContent(contentID: number, guid: string, locale: string, comments?: string, returnBatchId?: boolean): Promise; deleteContent(contentID: number, guid: string, locale: string, comments?: string, returnBatchId?: boolean): Promise; saveContentItem(contentItem: ContentItem, guid: string, locale: string, returnBatchId?: boolean): Promise; saveContentItems(contentItems: ContentItem[], guid: string, locale: string, returnBatchId?: boolean): Promise; getContentItems(referenceName: string, guid: string, locale: string, listParams: ListParams): Promise; getContentList(referenceName: string, guid: string, locale: string, listParams: ListParams, filterObject?: ContentListFilterModel): Promise; getContentHistory(locale: string, guid: string, contentID: number, take?: number, skip?: number): Promise; getContentComments(locale: string, guid: string, contentID: number, take?: number, skip?: number): Promise; }