import type { PhpRuntimeValue } from '../_helpers/_phpTypes.ts';
type SortValue = PhpRuntimeValue;
type SortFlag = 'SORT_REGULAR' | 'SORT_NUMERIC' | 'SORT_STRING' | 'SORT_LOCALE_STRING';
export declare function asort<T extends SortValue>(inputArr: T[], sortFlags?: SortFlag): boolean | T[];
export declare function asort<T extends SortValue>(inputArr: Record<string, T>, sortFlags?: SortFlag): boolean | Record<string, T>;
export {};
