/*! * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ import type { IChannelAttributes, IChannelFactory, IFluidDataStoreRuntime, IChannelServices } from "@fluidframework/datastore-definitions/internal"; import type { ISharedMap } from "./interfaces.js"; /** * {@link @fluidframework/datastore-definitions#IChannelFactory} for {@link ISharedMap}. * @privateRemarks * TODO: AB#35245: Deprecate and stop exporting this class. * @sealed * @legacy @beta */ export declare class MapFactory implements IChannelFactory { /** * {@inheritDoc @fluidframework/datastore-definitions#IChannelFactory."type"} */ static readonly Type = "https://graph.microsoft.com/types/map"; /** * {@inheritDoc @fluidframework/datastore-definitions#IChannelFactory.attributes} */ static readonly Attributes: IChannelAttributes; /** * {@inheritDoc @fluidframework/datastore-definitions#IChannelFactory."type"} */ get type(): string; /** * {@inheritDoc @fluidframework/datastore-definitions#IChannelFactory.attributes} */ get attributes(): IChannelAttributes; /** * {@inheritDoc @fluidframework/datastore-definitions#IChannelFactory.load} */ load(runtime: IFluidDataStoreRuntime, id: string, services: IChannelServices, attributes: IChannelAttributes): Promise; /** * {@inheritDoc @fluidframework/datastore-definitions#IChannelFactory.create} */ create(runtime: IFluidDataStoreRuntime, id: string): ISharedMap; } /** * Entrypoint for {@link ISharedMap} creation. * @legacy @beta */ export declare const SharedMap: import("@fluidframework/shared-object-base", { with: { "resolution-mode": "import" } }).ISharedObjectKind & import("@fluidframework/shared-object-base", { with: { "resolution-mode": "import" } }).SharedObjectKind; /** * Entrypoint for {@link ISharedMap} creation. * @legacy @beta * @privateRemarks * This alias is for legacy compat from when the SharedMap class was exported as public. */ export type SharedMap = ISharedMap; //# sourceMappingURL=mapFactory.d.ts.map