import { GetRevisionByIdUseCase } from "../abstractions.js"; import { Result } from "@webiny/feature/api"; import type { CmsEntry, CmsEntryValues, CmsModel } from "../../../../types/index.js"; /** * GetRevisionByIdNotDeletedDecorator - Filters out deleted entries. * * This decorator wraps the GetRevisionByIdUseCase and returns EntryNotFoundError * if the entry is marked as deleted (wbyDeleted flag). */ declare class GetRevisionByIdNotDeletedDecorator implements GetRevisionByIdUseCase.Interface { private decoratee; constructor(decoratee: GetRevisionByIdUseCase.Interface); execute(model: CmsModel, id: string): Promise, GetRevisionByIdUseCase.Error>>; } export declare const GetRevisionByIdNotDeleted: typeof GetRevisionByIdNotDeletedDecorator; export {};