import { THub } from "@effect/core/stm/THub/definition";
import { USTM } from "@effect/core/stm/STM/definition/base";
/**
 * Publishes a value to the hub, returning whether the value was published to the
 * queue.
 * @tsplus fluent ets/THub publish
 * @tsplus location "@effect/core/stm/THub/operations/THub/publish"
 */
export declare function publish_<A>(self: THub<A>, a: A): USTM<boolean>;
/**
 * Publishes a value to the hub, returning whether the value was published to the
 * queue.
 * @tsplus static ets/THub/Aspects publish
 * @tsplus pipeable ets/THub publish
 * @tsplus location "@effect/core/stm/THub/operations/THub/publish"
 */
export declare const publish: <A>(a: A) => (self: import("../../definition").THub<A>) => import("@effect/core/stm/STM").USTM<boolean>;
//# sourceMappingURL=publish.d.ts.map