/*! * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ import type { ITelemetryBaseLogger } from "@fluidframework/core-interfaces"; import type { ISummaryTree } from "@fluidframework/driver-definitions"; import type { IDocumentDeltaConnection, IDocumentService, IDocumentServiceFactory, IDocumentStorageService, IResolvedUrl } from "@fluidframework/driver-definitions/internal"; import type { FileDeltaStorageService } from "./fileDeltaStorageService.js"; /** * Factory for creating the file document service. Use this if you want to * use the local file storage as underlying storage. * @internal */ export declare class FileDocumentServiceFactory implements IDocumentServiceFactory { private readonly storage; private readonly deltaStorage; private readonly deltaConnection; constructor(storage: IDocumentStorageService, deltaStorage: FileDeltaStorageService, deltaConnection: IDocumentDeltaConnection); /** * Creates the file document service if the path exists. * * @param fileURL - Path of directory containing ops/snapshots. * @returns file document service. */ createDocumentService(resolvedUrl: IResolvedUrl, logger?: ITelemetryBaseLogger, clientIsSummarizer?: boolean): Promise; createContainer(createNewSummary: ISummaryTree, resolvedUrl: IResolvedUrl, logger?: ITelemetryBaseLogger, clientIsSummarizer?: boolean): Promise; } //# sourceMappingURL=fileDocumentServiceFactory.d.ts.map