import { TRef } from "@effect/core/stm/TRef/definition";
import { Maybe } from "@tsplus/stdlib/data/Maybe/definition";
import { USTM } from "@effect/core/stm/STM/definition/base";
/**
 * Updates some values of the variable but leaves others alone.
 * @tsplus fluent ets/TRef updateSome
 * @tsplus location "@effect/core/stm/TRef/operations/updateSome"
 */
export declare function updateSome_<A>(self: TRef<A>, pf: (a: A) => Maybe<A>): USTM<void>;
/**
 * Updates some values of the variable but leaves others alone.
 * @tsplus static ets/TRef/Aspects updateSome
 * @tsplus pipeable ets/TRef updateSome
 * @tsplus location "@effect/core/stm/TRef/operations/updateSome"
 */
export declare const updateSome: <A>(pf: (a: A) => import("@tsplus/stdlib/data/Maybe").Maybe<A>) => (self: import("../definition").TRef<A>) => import("../../STM").USTM<void>;
//# sourceMappingURL=updateSome.d.ts.map