import type { DataSourceFn } from '../data-source.types'; import type { DataSourceFnBuilder } from './data-source-fn-builder.types'; import type { WithFn } from './with-fn.types'; /** * Instantiates a DataSourceFnBuilder from a given function. * * @param fn - Any function that takes a single parameter and returns a value or a Promise with a value * @return A DataSourceFnBuilder with the provided `fn` assigned */ export declare const dataSourceFnBuilder: (fn: DataSourceFn) => DataSourceFnBuilder & import("./data-source-fn-builder.types").WithInputType & import("./with-map-input.types").WithMapInputFromType & import("./with-map-output.types").WithMapOutputToType & import("./data-source-fn-builder.types").WithOutputType & { fn: DataSourceFn; };