export type Source = 'mysql' | 'postgresql' | 'sqlite' | 'mssql'; export interface DatabaseOptions { source?: Source; dbName?: string; host?: string; port?: number; password?: string; user?: string; } export type AuthMethod = 'password' | 'api-key' | 'magic-link'; interface InitialiseAuthOptions extends DatabaseOptions { method: AuthMethod; tableName: string; } export declare const initialiseAuth: ({ method, ...databaseOptions }: InitialiseAuthOptions) => Promise; export {};