/*! * 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 { ISharedDirectory } from "./interfaces.js"; /** * {@link @fluidframework/datastore-definitions#IChannelFactory} for {@link ISharedDirectory}. * @privateRemarks * TODO: AB#35245: Deprecate and stop exporting this class. * @sealed * @legacy @beta */ export declare class DirectoryFactory implements IChannelFactory { /** * {@inheritDoc @fluidframework/datastore-definitions#IChannelFactory."type"} */ static readonly Type = "https://graph.microsoft.com/types/directory"; /** * {@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): ISharedDirectory; } /** * Entrypoint for {@link ISharedDirectory} creation. * @legacy @beta */ export declare const SharedDirectory: import("@fluidframework/shared-object-base/internal").ISharedObjectKind & import("@fluidframework/shared-object-base/internal").SharedObjectKind; /** * Entrypoint for {@link ISharedDirectory} creation. * @legacy @beta * @privateRemarks * This alias is for legacy compat from when the SharedDirectory class was exported as public. */ export type SharedDirectory = ISharedDirectory; //# sourceMappingURL=directoryFactory.d.ts.map