@tencentcloud/roomkit-web-vue3
Version:
<h1 align="center"> TUIRoomKit</h1> Conference (TUIRoomKit) is a product suitable for multi-person audio and video conversation scenarios such as business meetings, webinars, and online education. By integrating this product, you can add room management,
50 lines (49 loc) • 1.72 kB
TypeScript
type BeforeCloseFn = () => void;
interface Props {
message: string;
confirm?: BeforeCloseFn | null;
cancel?: BeforeCloseFn | null;
confirmButtonText?: string;
cancelButtonText?: string;
}
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
message: string;
confirmButtonText: string;
cancelButtonText: string;
confirm: null;
cancel: null;
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
close: (...args: any[]) => void;
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
message: string;
confirmButtonText: string;
cancelButtonText: string;
confirm: null;
cancel: null;
}>>> & Readonly<{
onClose?: ((...args: any[]) => any) | undefined;
}>, {
message: string;
cancel: BeforeCloseFn | null;
confirm: BeforeCloseFn | null;
cancelButtonText: string;
confirmButtonText: string;
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
export default _default;
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
type __VLS_TypePropsToRuntimeProps<T> = {
[K in keyof T]-?: {} extends Pick<T, K> ? {
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
} : {
type: import('vue').PropType<T[K]>;
required: true;
};
};
type __VLS_WithDefaults<P, D> = {
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
default: D[K];
}> : P[K];
};
type __VLS_Prettify<T> = {
[K in keyof T]: T[K];
} & {};