signal-desktop/js/modules/stickers.d.ts

19 lines
479 B
TypeScript
Raw Normal View History

2020-10-30 20:34:04 +00:00
// Copyright 2019-2020 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only
export function maybeDeletePack(packId: string): Promise<void>;
export function downloadStickerPack(
packId: string,
packKey: string,
options?: {
finalStatus?: 'installed' | 'downloaded';
messageId?: string;
fromSync?: boolean;
}
): Promise<void>;
2020-08-26 22:16:59 +00:00
export function isPackIdValid(packId: unknown): packId is string;
export function redactPackId(packId: string): string;