export declare function login(email: string, password: string): Promise<{ token: string; user: { id: number; email: string; firstName: string; lastName: string; permissions: string[]; customerId: number | null; isCustomerPortal: boolean; }; }>; export declare function customerLogin(email: string, password: string): Promise<{ token: string; user: { id: number; email: string | null; firstName: string; lastName: string; permissions: string[]; customerId: number; isCustomerPortal: boolean; representedCustomers: { id: number; customerNumber: string; firstName: string; lastName: string; companyName: string | null; type: import(".prisma/client").$Enums.CustomerType; }[]; }; }>; export declare function setCustomerPortalPassword(customerId: number, password: string): Promise; export declare function getCustomerPortalPassword(customerId: number): Promise; export declare function createUser(data: { email: string; password: string; firstName: string; lastName: string; roleIds: number[]; customerId?: number; }): Promise<{ id: number; email: string; firstName: string; lastName: string; roles: string[]; }>; export declare function getUserById(id: number): Promise<{ id: number; email: string; firstName: string; lastName: string; isActive: boolean; customerId: number | null; roles: string[]; permissions: string[]; isCustomerPortal: boolean; } | null>; export declare function getCustomerPortalUser(customerId: number): Promise<{ id: number; email: string | null; firstName: string; lastName: string; isActive: true; customerId: number; permissions: string[]; isCustomerPortal: boolean; representedCustomers: { id: number; customerNumber: string; firstName: string; lastName: string; companyName: string | null; type: import(".prisma/client").$Enums.CustomerType; }[]; } | null>; //# sourceMappingURL=auth.service.d.ts.map