import { Context } from '@curveball/core'; import { User } from '../user/types'; import { EventType, LogEntry } from './types'; export declare function log(eventType: EventType, ctx: Context): Promise; export declare function log(eventType: EventType, ip: string | null, userId: number, userAgent: string | null): Promise; export default function log(eventType: EventType, arg1: string | Context | null, arg2?: number, arg3?: string | null): Promise; export declare function addLogEntry(eventType: EventType, ip: string | null, userId: number, userAgent: string | null): Promise; export declare function findByUser(user: User): Promise;