import type { MaybeRefOrGetter } from './_shared'; import type { Ref } from '@stacksjs/stx'; /** * Reactive Clipboard API. * Read and write to the clipboard reactively. */ export declare function useClipboard(options?: UseClipboardOptions): UseClipboardReturn; export declare interface UseClipboardOptions { source?: MaybeRefOrGetter copiedDuring?: number } export declare interface UseClipboardReturn { text: Ref isSupported: Ref copied: Ref copy: (text?: string) => Promise }