import type { BindingDependencies } from '../../binding/types/binding-dependencies'; import type { InferBindingValueTypes } from '../../binding/types/infer-binding-value-types'; import type { ReadonlyBinding } from '../../binding/types/readonly-binding'; import type { DerivedBindingOptions } from './options'; /** * Called to compute the derived value on the initial render and anytime the dependencies change. * * @param bindingValues - The extracted values of the bindings. * @param bindings - The original bindings * * @returns The derived value */ export type UseDerivedBindingTransformer = (bindingValues: InferBindingValueTypes, bindings: DependenciesT) => GetT; /** A derived binding is a binding derived from zero or more other bindings */ export declare const useDerivedBinding: (bindings: DependenciesT | undefined, transformer: UseDerivedBindingTransformer, options: DerivedBindingOptions) => ReadonlyBinding; //# sourceMappingURL=use-derived-binding.d.ts.map