import type { _NSObject } from "../Foundation/NSObject.js";
import type { _UNNotificationContent } from "./UNNotificationContent.js";
import type { _UNNotificationRequest } from "./UNNotificationRequest.js";
export declare class _UNNotificationServiceExtension extends _NSObject {
    static alloc(): _UNNotificationServiceExtension;
    static new(): _UNNotificationServiceExtension;
    init(): _UNNotificationServiceExtension;
    /**
     * Call contentHandler with the modified notification content to deliver. If the handler is not called before the service's time expires then the unmodified notification will be delivered. You are expected to override this method to implement push notification modification.
     */
    didReceiveNotificationRequest$withContentHandler$(request: _UNNotificationRequest, contentHandler: (contentToDeliver: _UNNotificationContent) => void): void;
    /**
     * Will be called just before this extension is terminated by the system. You may choose whether to override this method.
     */
    serviceExtensionTimeWillExpire(): void;
}
