import { type IExportResult, type IPublisherDocumentExportPdfOptions, type IWorkspacePublisherServiceV2, type PublisherDocumentListItemV2 } from "@gooddata/sdk-backend-spi"; import { type IPublisherDocumentDefinitionV2, type IPublisherDocumentTemplateDefinitionV2, type IPublisherDocumentTemplateV2, type IPublisherDocumentV2, type IPublisherPageTemplateDefinitionV2, type IPublisherPageTemplateV2, type ObjRef } from "@gooddata/sdk-model"; /** * In-memory implementation of the content version 2 publisher service. * * @remarks * Stores page templates, document templates and documents in memory for the lifetime of the instance * (dummy backend, tests). It serves no default page templates. Saves validate the content and reject * with {@link @gooddata/sdk-backend-spi#PublisherContentNotSupportedError}. * * @alpha */ export declare class InMemoryWorkspacePublisherServiceV2 implements IWorkspacePublisherServiceV2 { private readonly pageTemplates; private readonly documentTemplates; private readonly documents; getPageTemplates(): Promise; getPageTemplate(ref: ObjRef): Promise; createPageTemplate(template: IPublisherPageTemplateDefinitionV2): Promise; updatePageTemplate(template: IPublisherPageTemplateV2): Promise; deletePageTemplate(ref: ObjRef): Promise; getDocumentTemplates(): Promise; getDocumentTemplate(ref: ObjRef): Promise; createDocumentTemplate(template: IPublisherDocumentTemplateDefinitionV2): Promise; updateDocumentTemplate(template: IPublisherDocumentTemplateV2): Promise; deleteDocumentTemplate(ref: ObjRef): Promise; getDocuments(): Promise; getDocument(ref: ObjRef): Promise; createDocument(publisherDocument: IPublisherDocumentDefinitionV2): Promise; updateDocument(publisherDocument: IPublisherDocumentV2): Promise; deleteDocument(ref: ObjRef): Promise; exportDocumentToPdf(_ref: ObjRef, _options?: IPublisherDocumentExportPdfOptions): Promise; } //# sourceMappingURL=InMemoryWorkspacePublisherServiceV2.d.ts.map