import { OnInit, OnDestroy, Injector } from '@angular/core';
import { ClipboardService } from 'ngx-clipboard';
import { ButtonComponent } from './button.component';
import * as i0 from "@angular/core";
export declare abstract class CopyButtonBaseDirective implements OnInit, OnDestroy {
    copySuccess: boolean;
    copyFailed: boolean;
    button: ButtonComponent;
    protected clipboardService: ClipboardService;
    /** Used to unsubscribe when the directive is removed from the DOM */
    private destroyed;
    constructor(button: ButtonComponent, injector: Injector);
    ngOnInit(): void;
    ngOnDestroy(): void;
    private onClick;
    /** Called to get context-specific value for clipboard copying */
    protected abstract getDataForClipboard(): string | null;
    static ɵfac: i0.ɵɵFactoryDeclaration<CopyButtonBaseDirective, never>;
    static ɵdir: i0.ɵɵDirectiveDeclaration<CopyButtonBaseDirective, never, never, {}, {}, never, never, false, never>;
}
