/*! * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ import { AttachState, IAudience } from "@fluidframework/container-definitions"; import { IDeltaManager } from "@fluidframework/container-definitions/internal"; import { FluidObject } from "@fluidframework/core-interfaces"; import { IFluidHandleContext, type IFluidHandleInternal } from "@fluidframework/core-interfaces/internal"; import { IClientDetails, IQuorumClients } from "@fluidframework/driver-definitions"; import { IDocumentMessage, ISnapshotTree, ISequencedDocumentMessage } from "@fluidframework/driver-definitions/internal"; import type { IIdCompressor } from "@fluidframework/id-compressor"; import { CreateChildSummarizerNodeFn, CreateChildSummarizerNodeParam, IContainerRuntimeBase, IFluidDataStoreContext, IFluidDataStoreRegistry, IGarbageCollectionDetailsBase, type IRuntimeStorageService, type OldestSupportedClientVersion } from "@fluidframework/runtime-definitions/internal"; import type { ITelemetryLoggerExt } from "@fluidframework/telemetry-utils/legacy"; /** * @legacy @beta */ export declare class MockFluidDataStoreContext implements IFluidDataStoreContext { readonly id: string; readonly existing: boolean; readonly baseLogger: ITelemetryLoggerExt; isLocalDataStore: boolean; packagePath: readonly string[]; options: Record; clientId: string | undefined; clientDetails: IClientDetails; connected: boolean; readonly: boolean; baseSnapshot: ISnapshotTree | undefined; deltaManager: IDeltaManager; containerRuntime: IContainerRuntimeBase; storage: IRuntimeStorageService; IFluidDataStoreRegistry: IFluidDataStoreRegistry; IFluidHandleContext: IFluidHandleContext; idCompressor: IIdCompressor; readonly gcThrowOnTombstoneUsage = false; readonly gcTombstoneEnforcementAllowed = false; /** * @remarks This is for internal use only. */ ILayerCompatDetails?: unknown; /** * Indicates the attachment state of the data store to a host service. */ attachState: AttachState; /** * @deprecated 0.16 Issue #1635, #3631 */ createProps?: any; scope: FluidObject; /** * {@inheritdoc @fluidframework/runtime-definitions#IFluidDataStoreContext.minVersionForCollab} */ minVersionForCollab: OldestSupportedClientVersion; constructor(id?: string, existing?: boolean, baseLogger?: ITelemetryLoggerExt, interactive?: boolean); on(event: string | symbol, listener: (...args: any[]) => void): this; once(event: string | symbol, listener: (...args: any[]) => void): this; off(event: string | symbol, listener: (...args: any[]) => void): this; getQuorum(): IQuorumClients; getAudience(): IAudience; submitMessage(): void; submitSignal(): void; makeLocallyVisible(): void; setChannelDirty(address: string): void; getAbsoluteUrl(relativeUrl: string): Promise; getCreateChildSummarizerNodeFn(id: string, createParam: CreateChildSummarizerNodeParam): CreateChildSummarizerNodeFn; deleteChildSummarizerNode(id: string): void; uploadBlob(blob: ArrayBufferLike): Promise>; getBaseGCDetails(): Promise; addedGCOutboundRoute(fromPath: string, toPath: string, messageTimestampMs?: number): void; } //# sourceMappingURL=mocksDataStoreContext.d.ts.map