/** Platform-neutral producer client for a configured adapter. */ export default class BackgroundJobsAdapterClient { configuration: import("../configuration.js").default; /** * Creates an adapter-backed producer. * @param {{configuration: import("../configuration.js").default}} args - Client options. */ constructor({ configuration }: { configuration: import("../configuration.js").default; }); /** * Enqueues a job through the configured adapter. * @param {{jobName: string, args: Array>, options?: import("./types.js").BackgroundJobOptions}} args - Job request. * @returns {Promise} - Job id. */ enqueue(args: { jobName: string; args: Array>; options?: import("./types.js").BackgroundJobOptions; }): Promise; /** * Replaces a stable schedule through the configured adapter. * @param {{scheduleKey: string, jobName: string, args: Array>, options?: import("./types.js").BackgroundJobOptions}} args - Replacement request. * @returns {Promise} - Replacement result. */ replaceScheduled(args: { scheduleKey: string; jobName: string; args: Array>; options?: import("./types.js").BackgroundJobOptions; }): Promise; /** * Cancels a stable schedule through the configured adapter. * @param {{scheduleKey: string}} args - Cancellation request. * @returns {Promise} - Cancellation result. */ cancelScheduled({ scheduleKey }: { scheduleKey: string; }): Promise; /** * Reads a stable schedule through the configured adapter. * @param {{scheduleKey: string, includeLatestTerminal?: boolean}} args - Lookup request. * @returns {Promise} - Normalized stable schedule jobs. */ getScheduledJob({ scheduleKey, includeLatestTerminal }: { scheduleKey: string; includeLatestTerminal?: boolean; }): Promise; /** * Wakes a stable schedule through the configured adapter. * @param {{scheduleKey: string}} args - Wake request. * @returns {Promise} - Wake result. */ wakeScheduled({ scheduleKey }: { scheduleKey: string; }): Promise; } //# sourceMappingURL=adapter-client.d.ts.map