export declare const Internal: { copyApi: (str: string, clipboard: Clipboard) => Promise; copyLegacy: (str: string, document: Pick) => Promise; }; export type Copy = (str: string, _window?: Window) => Promise; export declare function createClipboard(): Copy;