import { Placement } from '../../lib/types.ts'; interface Props { /** * Text to copy */ text: string; /** * Whether to show a tooltip after successful copy */ confirm?: string | boolean; /** * How long will the copy confirmation tooltip be visible in milliseconds. */ confirmTime?: number; /** * Tooltip position. Default is top */ confirmPlacement?: Placement; /** * By default, elements with transition already use a default fade transition. This can be replaced by a custom vue transition class name. * * Setting the value to `none` will not apply any transition. This is useful when using the View Transitions API to prevent conflicts between the default animation and the view transition. */ transitionName?: string | 'none'; } declare var __VLS_1: { copy: (text: string | (() => Promise)) => Promise; copied: boolean; }, __VLS_9: {}; type __VLS_Slots = {} & { default?: (props: typeof __VLS_1) => any; } & { confirm?: (props: typeof __VLS_9) => any; }; declare const __VLS_base: import('vue').DefineComponent & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>; declare const __VLS_export: __VLS_WithSlots; declare const _default: typeof __VLS_export; export default _default; type __VLS_WithSlots = T & { new (): { $slots: S; }; };