interface UseClipboardOptions {
    /** Fixes IE by appending element to body */
    appendToBody: boolean;
}
export declare const useClipboard: (opts?: UseClipboardOptions) => {
    toClipboard(text: string, container?: HTMLElement): Promise<unknown>;
};
export declare const handleCopy: (str: string, options?: {
    successMessage?: string;
    errorMessage?: string;
}) => Promise<void>;
export {};
