UNPKG

n8n

Version:

n8n Workflow Automation Tool

22 lines (21 loc) 593 B
import type { User } from '@n8n/db'; export declare function getUser(data: { withIdentifier: string; includeRole?: boolean; }): Promise<(User & { role?: string; }) | null>; export declare function getAllUsersAndCount(data: { includeRole?: boolean; limit?: number; offset?: number; in?: string[]; }): Promise<[Array<User & { role?: string; }>, number]>; export declare function clean(user: User, options?: { includeRole: boolean; }): Partial<User>; export declare function clean(users: User[], options?: { includeRole: boolean; }): Array<Partial<User>>;