import type { User } from "./User"; /** * A function which executes on the Atlas App Services server. */ export type AppServicesFunction = (...args: A) => Promise; /** * The default functions factory, providing types for easily calling functions. */ export type DefaultFunctionsFactory = { /** * All the functions are accessible as members on this instance. */ [name: string]: AppServicesFunction; }; export declare function createFactory(user: User, serviceName: string | undefined): T;