import type { DocHandle } from '@automerge/automerge-repo';
import * as Schema from 'effect/Schema';
import type { DocumentContent, Entity } from './types.js';
/**
 * Update an existing entity model of given type in the repo.
 */
export declare const update: <const S extends Schema.Schema.AnyNoContext>(handle: DocHandle<DocumentContent>, type: S) => (id: string, data: Schema.Simplify<Partial<Schema.Schema.Type<S>>>) => Entity<S>;
//# sourceMappingURL=update.d.ts.map