nuxt-users
Version:
A comprehensive user management module for Nuxt 3 and Nuxt 4 applications with authentication, authorization, database support, and CLI tools
34 lines (33 loc) • 1.17 kB
TypeScript
import { type DisplayFieldsProps, type User } from '../../types.js';
interface Props extends DisplayFieldsProps {
user: User;
index: number;
}
declare var __VLS_1: {
user: User;
index: number;
}, __VLS_3: {}, __VLS_5: {};
type __VLS_Slots = {} & {
userCard?: (props: typeof __VLS_1) => any;
} & {
editButton?: (props: typeof __VLS_3) => any;
} & {
deleteButton?: (props: typeof __VLS_5) => any;
};
declare const __VLS_component: import("vue").DefineComponent<Props, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
delete: (user: User) => void;
editClick: (user: User) => void;
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
onDelete?: ((user: User) => any) | undefined;
onEditClick?: ((user: User) => any) | undefined;
}>, {
displayFields: string[];
fieldLabels: Record<string, string>;
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
export default _default;
type __VLS_WithSlots<T, S> = T & {
new (): {
$slots: S;
};
};