import type { SerialQueue } from './prelude.js'; export type PushOptions = { /** * Aborting removes the entry from the queue and rejects its promise with * `signal.reason`. An entry that is already running keeps running — `f` * cannot be interrupted — but its eventual result is dropped, exactly as * after `rejectAll`. A signal that is already aborted rejects without * queueing anything. */ signal?: AbortSignal; }; /** Like `push`, with options; see {@link PushOptions}. */ export declare const pushWith: (queue: SerialQueue, { signal }: PushOptions, ...args: Args) => Promise; export default pushWith;