UNPKG

709 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>;
9declare const ClipboardPolyfillDefault: {
10 DT: typeof DT;
11 setDebugLog(f: (s: string) => void): void;
12 suppressWarnings(): void;
13 write(data: DT): Promise<void>;
14 writeText(s: string): Promise<void>;
15 read(): Promise<DT>;
16 readText(): Promise<string>;
17};
18export default ClipboardPolyfillDefault;