steem-auth-vue
Version:
A Vue 3 authentication component for Steem blockchain and Echelon sidechain
34 lines (33 loc) • 1.33 kB
TypeScript
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
visible: boolean;
accounts: {
username: string;
loginAuth: string;
}[];
currentUsername: string;
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
switch: (...args: any[]) => void;
delete: (...args: any[]) => void;
close: (...args: any[]) => void;
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
visible: boolean;
accounts: {
username: string;
loginAuth: string;
}[];
currentUsername: string;
}>>> & Readonly<{
onSwitch?: ((...args: any[]) => any) | undefined;
onDelete?: ((...args: any[]) => any) | undefined;
onClose?: ((...args: any[]) => any) | undefined;
}>, {}, {}, {}, {}, 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;
};
};