The interface for the system clipboard.

interface IClipboard {
    clear(): void;
    getData(mime: string): Promise<unknown>;
    hasData(mime: string): Promise<boolean>;
    setData(mime: string, data: unknown): Promise<void>;
}

Methods