/** * Wrapper for update() operation * * Provides automatic validation for update() operation parameters. */ import { Coordinate, Item, UpdateMethod } from "@fjell/types"; import type { WrapperOptions } from "./types"; /** * Creates a wrapped update() method with automatic parameter validation. * * @param coordinate - The coordinate defining the item hierarchy * @param implementation - The core logic for the operation * @param options - Optional configuration * @returns A fully validated update() method * * @example * ```typescript * const update = createUpdateWrapper( * coordinate, * async (key, item) => { * return await database.update(key, item); * } * ); * ``` */ export declare function createUpdateWrapper, S extends string, L1 extends string = never, L2 extends string = never, L3 extends string = never, L4 extends string = never, L5 extends string = never>(coordinate: Coordinate, implementation: UpdateMethod, options?: WrapperOptions): UpdateMethod;