import { Router } from "express";
interface RegistrationRouterOptions {
    tokenVerifier?(token: string): PromiseLike<boolean>;
    /**
     * Return `true` if the registration has been successful (HTTP 201)
     * Otherwise `false` to tell Apple the SN has been already registered
     * for the device (HTTP 200).
     *
     * @see https://developer.apple.com/documentation/walletpasses/register_a_pass_for_update_notifications
     */
    onRegister(deviceLibraryIdentifier: string, passTypeIdentifier: string, serialNumber: string, pushToken: string): PromiseLike<boolean>;
    /**
     * @see https://developer.apple.com/documentation/walletpasses/unregister_a_pass_for_update_notifications
     */
    onUnregister(deviceLibraryIdentifier: string, passTypeIdentifier: string, serialNumber: string): PromiseLike<void>;
}
export default function RegistrationRouter(opts: RegistrationRouterOptions): Router;
export {};
