import Component from "@glimmer/component";
import type { EuiToolTipSignature } from "./eui-tool-tip";
type EuiCopyArgs = {
    /**
     * Text that will be copied to clipboard when copy function is executed.
     */
    textToCopy: string;
    /**
     * Tooltip message displayed before copy function is called.
     */
    beforeMessage?: string;
    /**
     * Tooltip message displayed after copy function is called that lets the user know that
     * 'textToCopy' has been copied to the clipboard.
     */
    afterMessage?: string;
    /**
     * The element that will be used as the anchor for the tooltip.
     * Defaults to the child element of EuiCopy.
     */
    anchor?: HTMLElement;
};
export interface EuiCopySignature {
    Element: EuiToolTipSignature["Element"];
    Args: EuiCopyArgs;
    Blocks: {
        default: [() => void];
    };
}
export default class EuiCopyComponent extends Component<EuiCopySignature> {
    tooltipText: string | undefined;
    copy(): void;
    resetTooltipText(): void;
}
export {};
//# sourceMappingURL=eui-copy.d.ts.map