UNPKG

713 BTypeScriptView Raw
1import { DT } from "./DT";
2export { DT };
3export declare function setDebugLog(f: (s: string) => void): void;
4export declare function suppressWarnings(): void;
5export declare function write(data: DT): Promise<void>;
6export declare function writeText(s: string): Promise<void>;
7export declare function read(): Promise<DT>;
8export declare function readText(): Promise<string>;
9export default class ClipboardPolyfillDefault {
10 static readonly DT: typeof DT;
11 static setDebugLog(f: (s: string) => void): void;
12 static suppressWarnings(): void;
13 static write(data: DT): Promise<void>;
14 static writeText(s: string): Promise<void>;
15 static read(): Promise<DT>;
16 static readText(): Promise<string>;
17}