import { Ctx } from '../Ctx.js'; import { ModifyOpts } from '../types.js'; import { DbClient } from '../../../index.js'; import { SchemaTypeDef } from '@based/schema/def'; export declare const writeUpdate: (ctx: Ctx, schema: SchemaTypeDef, id: number, payload: any, opts: ModifyOpts) => void; export declare function update(db: DbClient, type: string, id: number, payload: any, opts: ModifyOpts): Promise;