import { ProxyState } from './cache'; import * as Y from "yjs"; /** * Creates a proxy for a Y.Array. * * @param yarr The Y.Array to wrap. * @returns A proxy for the Y.Array. * @internal */ export declare function yarrayProxy(yarr: Y.Array): unknown[]; /** * Creates a proxy for a Y.Array or a JSON array. * * @param state The initial state of the proxy. * @returns A proxy for the array. * @internal */ export declare function createYArrayProxy(state: ProxyState): any[];