// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved. // See LICENSE.txt for license information. interface RudderClient { setup(key: string, options: any): Promise; track(event: string, properties: Record | undefined, options?: Record): void; identify(userId: string, traits: Record, options?: Record): Promise; screen(name: string, properties: Record | undefined, options?: Record): void; reset(): Promise; }