/*! * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ import type { IChannel, IChannelAttributes, IChannelFactory, IFluidDataStoreRuntime, IChannelServices } from "@fluidframework/datastore-definitions/internal"; import { type ISharedMatrix } from "./matrix.js"; /** * {@link @fluidframework/datastore-definitions#IChannelFactory} for {@link ISharedMatrix}. * @legacy @beta * @deprecated Use `SharedMatrix.getFactory` instead. */ export declare class SharedMatrixFactory implements IChannelFactory { static Type: string; static readonly Attributes: IChannelAttributes; get type(): string; get attributes(): IChannelAttributes; /** * {@inheritDoc @fluidframework/datastore-definitions#IChannelFactory.load} */ load(runtime: IFluidDataStoreRuntime, id: string, services: IChannelServices, attributes: IChannelAttributes): Promise; create(document: IFluidDataStoreRuntime, id: string): ISharedMatrix & IChannel; } /** * Entrypoint for {@link ISharedMatrix} creation. * @legacy @beta */ export declare const SharedMatrix: import("@fluidframework/shared-object-base/internal").ISharedObjectKind> & import("@fluidframework/shared-object-base/internal").SharedObjectKind>; /** * Convenience alias for {@link ISharedMatrix}. Prefer to use {@link ISharedMatrix} when referring to * SharedMatrix as a type. * @legacy @beta * @privateRemarks * This alias is for legacy compat from when the SharedMatrix class was exported as public. */ export type SharedMatrix = ISharedMatrix; //# sourceMappingURL=runtime.d.ts.map