/** * Copyright 2022 Gravwell, Inc. All rights reserved. * * Contact: [legal@gravwell.io](mailto:legal@gravwell.io) * * This software may be modified and distributed under the terms of the MIT * license. See the LICENSE file for details. */ import { Verifier } from '../../functions/utils/verifiers'; interface CreatableBaseTargetedNotification { message: string; customID?: string; sentDate?: string; expirationDate?: string; ignoreUntilDate?: string; } export interface CreatableMyselfTargetedNotification extends CreatableBaseTargetedNotification { targetType: 'myself'; } export declare const creatableMyselfTargetedNotificationDecoder: Verifier; export interface CreatableGroupTargetedNotification extends CreatableBaseTargetedNotification { targetType: 'group'; /** ID of the group targeted by the notification */ groupID: string; } export declare const creatableGroupTargetedNotificationDecoder: Verifier; export interface CreatableUserTargetedNotification extends CreatableBaseTargetedNotification { targetType: 'user'; /** ID of the user targeted by the notification */ userID: string; } export declare const creatableUserTargetedNotificationDecoder: Verifier; export declare type CreatableTargetedNotification = CreatableMyselfTargetedNotification | CreatableGroupTargetedNotification | CreatableUserTargetedNotification; export declare const creatableTargetedNotificationDecoder: Verifier; export {};