import { MemoryService } from '@feathersjs/memory'; import type { MongoDBAdapterOptions, MongoDBAdapterParams } from '@feathersjs/mongodb'; import { MongoDBService } from '@feathersjs/mongodb'; import type { Application } from '../../declarations'; import type { OnboardingData, User, UserData, UserPatch, UserQuery } from './users.schema'; export type { User, UserData, UserPatch, UserQuery }; type NeedsGetPatch = { get: (...args: any[]) => Promise; patch: (...args: any[]) => Promise; find: (...args: any[]) => Promise; setup?(app: Application, path: string): Promise; }; type ServiceCtor = new (...args: any[]) => T; export interface UserParams extends MongoDBAdapterParams { user?: User; } declare const UserService_base: { new (...args: any[]): { app: Application; setup(app: Application, path: string): Promise; onboard(data: OnboardingData, params: UserParams): Promise<{ success: boolean; deprecated: boolean; message: string; redirectTo: string; }>; get: (...args: any[]) => Promise; patch: (...args: any[]) => Promise; find: (...args: any[]) => Promise; }; } & ServiceCtor>>; export declare class UserService extends UserService_base { } declare const MemoryWithOnboardInternal_base: { new (...args: any[]): { app: Application; setup(app: Application, path: string): Promise; onboard(data: OnboardingData, params: UserParams): Promise<{ success: boolean; deprecated: boolean; message: string; redirectTo: string; }>; get: (...args: any[]) => Promise; patch: (...args: any[]) => Promise; find: (...args: any[]) => Promise; }; } & typeof MemoryService; declare class MemoryWithOnboardInternal extends MemoryWithOnboardInternal_base { } export declare class MemoryUserService extends MemoryWithOnboardInternal { } export declare const getOptions: (app: Application) => MongoDBAdapterOptions;