import { type NumericLike, type PhpCallable, type PhpCallableArgs, type PhpCallableDescriptor, type PhpInput } from './_phpTypes.ts'; type CallbackValue = PhpInput; interface CallbackResolverOptions { invalidMessage: string; missingScopeMessage?: (scopeName: string) => string; } interface ResolvedCallback { fn: PhpCallable; scope: CallbackValue; } export declare function resolvePhpCallable(callback: PhpCallableDescriptor, options: CallbackResolverOptions): ResolvedCallback; export declare function resolveNumericComparator(callback: PhpCallableDescriptor<[TLeft, TRight], NumericLike>, invalidMessage: string): (left: TLeft, right: TRight) => number; export {};