import type { Ref } from 'vue'; import { h } from 'vue'; export declare function useCopyableText(options: { mergedClsPrefixRef: Ref; mergedValueRef: Ref; }, defaultCallback?: (value: string | [string, string] | null) => void): { copyText: (value: string | [string, string] | null, cb?: (value: string | [string, string] | null) => void) => Promise; handleClick: (e: MouseEvent, cb?: (value: string | [string, string] | null) => void) => Promise; renderCopyButton: (cb?: (value: string | [string, string] | null) => void) => ReturnType; };