/** * Wrapper for findOne() operation * * Provides automatic validation for findOne() operation parameters. */ import { Coordinate, FindOneMethod, Item } from "@fjell/types"; import type { WrapperOptions } from "./types"; /** * Creates a wrapped findOne() 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 findOne() method * * @example * ```typescript * const findOne = createFindOneWrapper( * coordinate, * async (finder, params, locations) => { * return await database.executeFinderOne(finder, params, locations); * } * ); * ``` */ export declare function createFindOneWrapper, 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: FindOneMethod, options?: WrapperOptions): FindOneMethod;