import { EventPublisher } from "@webiny/api-core/features/eventPublisher/index.js"; import { Result } from "@webiny/feature/api"; import { UnpublishEntryUseCase as UseCaseAbstraction } from "./abstractions.js"; import { UnpublishEntryRepository } from "./abstractions.js"; import { AccessControl } from "../../../features/shared/abstractions.js"; import { GetPublishedRevisionByEntryIdUseCase } from "../../../features/contentEntry/GetPublishedRevisionByEntryId/index.js"; import type { CmsEntry, CmsEntryValues } from "../../../types/index.js"; import type { CmsModel } from "../../../types/index.js"; import { CreateUnpublishEntryDataFactory } from "../../../features/contentEntry/entryDataFactories/CreateUnpublishEntryDataFactory/index.js"; declare class UnpublishEntryUseCaseImpl implements UseCaseAbstraction.Interface { private eventPublisher; private repository; private accessControl; private getPublishedRevisionByEntryId; private createUnpublishEntryDataFactory; constructor(eventPublisher: EventPublisher.Interface, repository: UnpublishEntryRepository.Interface, accessControl: AccessControl.Interface, getPublishedRevisionByEntryId: GetPublishedRevisionByEntryIdUseCase.Interface, createUnpublishEntryDataFactory: CreateUnpublishEntryDataFactory.Interface); execute(model: CmsModel, id: string): Promise, UseCaseAbstraction.Error>>; } export declare const UnpublishEntryUseCase: import("@webiny/di").Implementation; export {};