import { INotificationGateway } from '../../application/ports/notification-gateway';
import { ILogger } from '../../application/ports/logger';
import { IDeviceRepository } from '../../domain/repositories/device-repository';
/**
 * OneSignal REST API implementation of the notification gateway.
 *
 * Translates internal device IDs into OneSignal player IDs (push tokens)
 * stored on the device record and sends push notifications via the
 * OneSignal `/notifications` endpoint.
 */
export declare class OneSignalPushGateway implements INotificationGateway {
    private readonly appId;
    private readonly restApiKey;
    private readonly deviceRepository;
    private readonly logger;
    constructor(appId: string, restApiKey: string, deviceRepository: IDeviceRepository, logger: ILogger);
    sendToDevice(deviceId: string, message: unknown): Promise<void>;
    isDeviceConnected(_deviceId: string): boolean;
    private buildStyledPayload;
    private buildFallbackPayload;
    private shortenAddress;
}
//# sourceMappingURL=onesignal-push-gateway.d.ts.map