import { TArray } from "@effect/core/stm/TArray/definition";
import { Ord } from "@tsplus/stdlib/prelude/Ord/definition";
import { USTM } from "@effect/core/stm/STM/definition/base";
import { Maybe } from "@tsplus/stdlib/data/Maybe/definition";
/**
 * Atomically compute the greatest element in the array, if it exists.
 * @tsplus fluent ets/TArray maxMaybe
 * @tsplus location "@effect/core/stm/TArray/operations/maxMaybe"
 */
export declare function maxMaybe_<A>(self: TArray<A>, ord: Ord<A>): USTM<Maybe<A>>;
/**
 * Atomically compute the greatest element in the array, if it exists.
 * @tsplus static ets/TArray/Aspects maxMaybe
 * @tsplus pipeable ets/TArray maxMaybe
 * @tsplus location "@effect/core/stm/TArray/operations/maxMaybe"
 */
export declare const maxMaybe: <A>(ord: import("@tsplus/stdlib/prelude/Ord").Ord<A>) => (self: import("../definition").TArray<A>) => import("../../STM").USTM<import("@tsplus/stdlib/data/Maybe").Maybe<A>>;
//# sourceMappingURL=maxMaybe.d.ts.map