import { type IExportResult, type IPublisherDocumentExportPdfOptions, type IWorkspacePublisherService } from "@gooddata/sdk-backend-spi"; import { type IPublisherDocumentDefinitionV1, type IPublisherDocumentTemplateDefinitionV1, type IPublisherDocumentTemplateV1, type IPublisherDocumentV1, type IPublisherPageTemplateDefinitionV1, type IPublisherPageTemplateV1, type ObjRef } from "@gooddata/sdk-model"; /** * In-memory implementation of the publisher service. * * @remarks * Serves the default page templates and stores created page templates, document templates and documents in * memory for the lifetime of the instance (dummy backend, tests). * * @alpha */ export declare class InMemoryWorkspacePublisherService implements IWorkspacePublisherService { private readonly pageTemplates; private readonly templates; private readonly documents; private sequence; private newRef; private findDefaultPageTemplate; getPageTemplates(): Promise; getPageTemplate(ref: ObjRef): Promise; createPageTemplate(layout: IPublisherPageTemplateDefinitionV1): Promise; updatePageTemplate(layout: IPublisherPageTemplateV1): Promise; deletePageTemplate(ref: ObjRef): Promise; private assertPageTemplateEditable; getDocumentTemplates(): Promise; getDocumentTemplate(ref: ObjRef): Promise; createDocumentTemplate(template: IPublisherDocumentTemplateDefinitionV1): Promise; updateDocumentTemplate(template: IPublisherDocumentTemplateV1): Promise; deleteDocumentTemplate(ref: ObjRef): Promise; getDocuments(): Promise; hasDocuments(): Promise; getDocument(ref: ObjRef): Promise; createDocument(publisherDocument: IPublisherDocumentDefinitionV1): Promise; updateDocument(publisherDocument: IPublisherDocumentV1): Promise; deleteDocument(ref: ObjRef): Promise; exportDocumentToPdf(_ref: ObjRef, _options?: IPublisherDocumentExportPdfOptions): Promise; private store; private assertExistsAndUnlocked; } //# sourceMappingURL=InMemoryWorkspacePublisherService.d.ts.map