import { THub } from "@effect/core/stm/THub/definition";
import { USTM } from "@effect/core/stm/STM/definition/base";
import { Chunk } from "@tsplus/stdlib/collections/Chunk/definition";
/**
 * Takes up to the specified number of values from the queue.
 * @tsplus fluent ets/THub/TDequeue takeUpTo
 * @tsplus location "@effect/core/stm/THub/operations/TDequeue/takeUpTo"
 */
export declare function takeUpTo_<A>(self: THub.TDequeue<A>, max: number): USTM<Chunk<A>>;
/**
 * Takes up to the specified number of values from the queue.
 * @tsplus static ets/THub/TDequeue/Aspects takeUpTo
 * @tsplus pipeable ets/THub/TDequeue takeUpTo
 * @tsplus location "@effect/core/stm/THub/operations/TDequeue/takeUpTo"
 */
export declare const takeUpTo: (max: number) => <A>(self: import("../../definition").THub.TDequeue<A>) => import("@effect/core/stm/STM").USTM<import("@tsplus/stdlib/collections/Chunk").Chunk<A>>;
//# sourceMappingURL=takeUpTo.d.ts.map