import type { PhpCallableDescriptor, PhpList, PhpRuntimeValue } from '../_helpers/_phpTypes.ts'; type ArrayMapValue = PhpRuntimeValue; type ArrayMapInputs = [firstArray: PhpList, ...restArrays: Array>]; type ArrayMapTupleArgs[]> = [ ...{ [K in keyof TInputs]: TInputs[K] extends PhpList ? TValue | undefined : ArrayMapValue | undefined; } ]; export declare function array_map(callback: PhpCallableDescriptor, TResult>, ...inputArrays: TInputs): PhpList; export declare function array_map(callback: null | undefined, ...inputArrays: TInputs): PhpList>; export {};