TeaSpeak-Client/imports/shared-app/ui/modal/ModalBanClient.d.ts
2021-02-20 18:55:36 +01:00

13 lines
379 B
TypeScript

import { ConnectionHandler } from "../../ConnectionHandler";
export declare type BanEntry = {
name?: string;
unique_id: string;
};
export declare function spawnBanClient(client: ConnectionHandler, entries: BanEntry | BanEntry[], callback: (data: {
length: number;
reason: string;
no_name: boolean;
no_ip: boolean;
no_hwid: boolean;
}) => void): void;