import { sortable } from "../types/types"; /** * the sortable for the async values * @param asyncItems the async items * @param sortFn the sortable to apply to the async items * * {@link https://sort-es.netlify.app/by-async sortAsync docs} * @version 1.0.0 */ declare const sortAsync: (asyncItems: Promise[], sortFn: sortable) => Promise; export declare class AsyncArray extends Array> { constructor(items: Promise[]); sortAsync(sortFn: sortable): Promise; } export default sortAsync;