import Clipboard from 'clipboard'; import { ElementRef, EventEmitter, OnDestroy, OnInit } from '@angular/core'; import * as i0 from "@angular/core"; /** * A directive that copies the decorated element content into the user clipboard. * * Depends On: [clipboard](https://www.npmjs.com/package/clipboard) * * @export */ export declare class UiClipboardDirective implements OnInit, OnDestroy { private _eltRef; /** * The element reference what will serve as a `copy` trigger. * */ uiClipboard?: Element; /** * Event that emits when the content is copied succesfully to the clipboard. * */ clipboardSuccess: EventEmitter; /** * Event that emits when the content could not be copied to the clipboard. * */ clipboardError: EventEmitter; private _clipboard; /** * @ignore */ constructor(_eltRef: ElementRef); /** * @ignore */ ngOnInit(): void; /** * @ignore */ ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; }