@ark-ui/vue
Version:
A collection of unstyled, accessible UI components for Vue, utilizing state machines for seamless interaction.
32 lines (31 loc) • 1.34 kB
TypeScript
import { HTMLAttributes, DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
import { PolymorphicProps } from '../factory';
import { RootEmits, RootProps } from './clipboard.types';
import { ValueChangeDetails, CopyStatusDetails } from '@zag-js/clipboard';
export interface ClipboardRootBaseProps extends RootProps, PolymorphicProps {
}
export interface ClipboardRootProps extends ClipboardRootBaseProps,
/**
* @vue-ignore
*/
HTMLAttributes {
}
export interface ClipboardRootEmits extends RootEmits {
}
declare const _default: __VLS_WithTemplateSlots< DefineComponent<ClipboardRootProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
valueChange: (details: ValueChangeDetails) => any;
"update:modelValue": (value: string) => any;
statusChange: (details: CopyStatusDetails) => any;
}, string, PublicProps, Readonly<ClipboardRootProps> & Readonly<{
onValueChange?: ((details: ValueChangeDetails) => any) | undefined;
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
onStatusChange?: ((details: CopyStatusDetails) => any) | undefined;
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>, {
default?(_: {}): any;
}>;
export default _default;
type __VLS_WithTemplateSlots<T, S> = T & {
new (): {
$slots: S;
};
};