import type { FetchDidFailCallbackParam, SerwistPlugin } from "../../types.js";
import type { BackgroundSyncQueueOptions } from "./BackgroundSyncQueue.js";
/**
 * A class implementing the `fetchDidFail` lifecycle callback. This makes it
 * easier to add failed requests to a {@linkcode BackgroundSyncQueue}.
 */
export declare class BackgroundSyncPlugin implements SerwistPlugin {
    private readonly _queue;
    /**
     * @param name See the {@linkcode BackgroundSyncQueue}
     * documentation for parameter details.
     * @param options See the {@linkcode BackgroundSyncQueue}
     * documentation for parameter details.
     * @see https://serwist.pages.dev/docs/serwist/core/background-sync-queue
     */
    constructor(name: string, options?: BackgroundSyncQueueOptions);
    /**
     * @param options
     * @private
     */
    fetchDidFail({ request }: FetchDidFailCallbackParam): Promise<void>;
}
//# sourceMappingURL=BackgroundSyncPlugin.d.ts.map