import { ComponentOptionsMixin } from 'vue'; import { ComponentProvideOptions } from 'vue'; import { DefineComponent } from 'vue'; import { ExtractPropTypes } from 'vue'; import { PropType } from 'vue'; import { PublicProps } from 'vue'; declare type __VLS_NonUndefinedable = T extends undefined ? never : T; declare type __VLS_Prettify = { [K in keyof T]: T[K]; } & {}; declare type __VLS_TypePropsToRuntimeProps = { [K in keyof T]-?: {} extends Pick ? { type: PropType<__VLS_NonUndefinedable>; } : { type: PropType; required: true; }; }; declare type __VLS_WithDefaults = { [K in keyof Pick]: K extends keyof D ? __VLS_Prettify : P[K]; }; declare type __VLS_WithTemplateSlots = T & { new (): { $slots: S; }; }; export declare interface CopyProps { /** * Optional text to display instead of icon. */ text?: string; /** * The value to copy to clipboard. */ value: string; /** * Sets the copy icon or text to always be visible. By default, icon/text only appears when hovering over slot content. */ visible?: boolean; /** * Sets the mode of the copy component. */ mode?: 'icon' | 'text' | 'icon-button' | 'unset'; } declare const _default: __VLS_WithTemplateSlots, { text: undefined; visible: boolean; mode: string; }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, { copy: () => void; }, string, PublicProps, Readonly, { text: undefined; visible: boolean; mode: string; }>>> & Readonly<{ onCopy?: (() => any) | undefined; }>, { mode: "text" | "icon" | "unset" | "icon-button"; text: string; visible: boolean; }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>, { default?(_: {}): any; }>; export default _default; export { }