import { Reference } from '@dxos/echo-protocol'; import { type BaseObject, type ForeignKey } from '@dxos/echo-schema'; import { type Live } from '@dxos/live-object'; import { type AnyLiveObject } from './echo-handler'; import { type EchoDatabase } from '../proxy-db'; export declare const getDatabaseFromObject: (obj: Live) => EchoDatabase | undefined; /** * @deprecated */ export declare const getReferenceWithSpaceKey: (obj: AnyLiveObject) => Reference | undefined; export declare const findObjectWithForeignKey: (objects: AnyLiveObject[], foreignKey: ForeignKey) => AnyLiveObject | undefined; export declare const matchKeys: (a: ForeignKey[], b: ForeignKey[]) => boolean; //# sourceMappingURL=util.d.ts.map