export type ValueFunction = (arg: TArg) => TValue; export type ValueOrFunction = TValue | ValueFunction; export declare const resolveValue: (valOrFunction: ValueOrFunction, arg: TArg) => TValue;