import { Router } from "express";
/**
 * @see https://developer.apple.com/documentation/walletpasses/send_an_updated_pass
 */
interface UpdateRouterOptions {
    tokenVerifier?(token: string): PromiseLike<boolean>;
    /**
     * @param passTypeIdentifier
     * @param serialNumber
     * @param {number} [modifiedSinceTimestamp] A timestamp that is provided by Apple,
     * 		based on the the time the last successful (HTTP 200) update was provided
     *
     * @returns {Uint8Array | undefined} If _falsy_ is returned, the request will
     * 		be replied with HTTP 304 Not Modified.
     */
    onUpdateRequest(passTypeIdentifier: string, serialNumber: string, modifiedSinceTimestamp?: number | undefined): PromiseLike<Uint8Array | undefined>;
}
export default function UpdateRouter(opts: UpdateRouterOptions): Router;
export {};
