import type { RecordId } from '../types/validated/collection'; import type { ActivityLogAction, ActivityLogType } from '@forestadmin/forestadmin-client'; export interface CreateActivityLogArgs { renderingId: number; action: ActivityLogAction; type: ActivityLogType; collectionId: string; recordId?: RecordId; label?: string; } export interface ActivityLogHandle { id: string; index: string; } export interface ActivityLogPort { createPending(args: CreateActivityLogArgs): Promise; markSucceeded(handle: ActivityLogHandle): Promise; markFailed(handle: ActivityLogHandle): Promise; } export interface ActivityLogPortFactory { forRun(forestServerToken: string): ActivityLogPort; drain(): Promise; } //# sourceMappingURL=activity-log-port.d.ts.map