import { TArray } from "@effect/core/stm/TArray/definition";
import { Equivalence } from "@tsplus/stdlib/prelude/Equivalence/definition";
import { USTM } from "@effect/core/stm/STM/definition/base";
/**
 * Get the first index of a specific value in the array or -1 if it does not
 * occur.
 * @tsplus fluent ets/TArray indexOf
 * @tsplus location "@effect/core/stm/TArray/operations/indexOf"
 */
export declare function indexOf_<A>(self: TArray<A>, equivalence: Equivalence<A>): (a: A) => import("../../STM").USTM<number>;
/**
 * Get the first index of a specific value in the array or -1 if it does not
 * occur.
 * @tsplus static ets/TArray/Aspects indexOf
 * @tsplus pipeable ets/TArray indexOf
 * @tsplus location "@effect/core/stm/TArray/operations/indexOf"
 */
export declare const indexOf: <A>(equivalence: import("@tsplus/stdlib/prelude/Equivalence").Equivalence<A>) => (self: import("../definition").TArray<A>) => (a: A) => import("../../STM").USTM<number>;
//# sourceMappingURL=indexOf.d.ts.map