import ClockIn, { createClockIn } from './clockin.js'; export { ClockInBuilder, ClockInOptions, ModelsConfig, SingleTenantConfig } from './clockin.js'; import { o as ok, e as err, i as isOk, a as isErr } from './resolver-DXtfO0qV.js'; export { E as Err, O as Ok, R as Result, u as unwrap, b as unwrapOr } from './resolver-DXtfO0qV.js'; import { l as loggingPlugin, n as notificationPlugin } from './plugin-BI0AkTzA.js'; export { p as BaseEvent, B as BeforeCheckInHookData, e as BeforeCheckOutHookData, s as CheckInFailedEvent, f as CheckInHookData, r as CheckInRecordedEvent, u as CheckOutFailedEvent, g as CheckOutHookData, t as CheckOutRecordedEvent, k as ClockInEventMap, j as ClockInEventPayload, o as ClockInEventType, C as ClockInPlugin, w as EngagementChangedEvent, E as EngagementHookData, h as EventBus, q as EventMemberInfo, x as MemberAtRiskEvent, y as MemberInactiveEvent, v as MilestoneAchievedEvent, M as MilestoneHookData, a as PluginContext, P as PluginError, b as PluginHooks, c as PluginManagerOptions, z as SessionExpiredEvent, S as StatsUpdatedEvent, U as Unsubscribe, i as createEventBus, d as definePlugin, m as metricsPlugin } from './plugin-BI0AkTzA.js'; export { applyAttendanceIndexes, attendanceIndexes, attendanceStatsSchema, checkInEntrySchema, commonAttendanceFields, correctionRequestSchema, createAttendanceSchema, currentSessionSchema, timeSlotDistributionSchema } from './schemas/index.js'; import { ClockInError } from './errors/index.js'; export { AlreadyCheckedOutError, AttendanceNotEnabledError, DuplicateCheckInError, InvalidMemberError, MemberNotFoundError, NoActiveSessionError, NotInitializedError, TargetModelNotAllowedError, ValidationError, isClockInError } from './errors/index.js'; export { CorrectionRequestService, applyCorrectionRequest, listCorrectionRequests, reviewCorrectionRequest, submitCorrectionRequest } from './services/index.js'; export { ATTENDANCE_PERIOD, ATTENDANCE_PERIOD_VALUES, ATTENDANCE_STATUS, ATTENDANCE_STATUS_VALUES, ATTENDANCE_TYPE, ATTENDANCE_TYPE_VALUES, BUILT_IN_TARGET_MODELS, CHECK_IN_METHOD, CHECK_IN_METHOD_VALUES, CORRECTION_REQUEST_STATUS, CORRECTION_REQUEST_STATUS_VALUES, CORRECTION_REQUEST_TYPE, CORRECTION_REQUEST_TYPE_VALUES, ENGAGEMENT_LEVEL, ENGAGEMENT_LEVEL_VALUES, PRIORITY, PRIORITY_VALUES, TIME_SLOT, TIME_SLOT_VALUES, getEngagementLevel, getTimeSlot } from './enums.js'; import { deepMerge } from './config.js'; export { generateDefaultConfig, getConfig } from './config.js'; export { ActiveSessionData, AggregationConfig, AnalyticsConfig, AnyDocument, ApplyCorrectionRequestParams, AttendancePeriod, AttendanceRecord, AttendanceStats, AttendanceStatus, AttendanceTargetModel, AttendanceType, AutoCheckoutConfig, BulkCheckInData, BulkOperationResult, CheckInData, CheckInEntry, CheckInMethod, CheckInParams, CheckInResult, CheckInRules, CheckOutParams, CheckOutResult, CheckoutExpiredParams, CheckoutExpiredResult, ClockInConfig, ClockInInstance, ClockInMember, SingleTenantConfig as ClockInSingleTenantConfig, CorrectionEntry, CorrectionRequest, CorrectionRequestStatus, CorrectionRequestType, CurrentSession, DailyTrendEntry, DashboardParams, DashboardResult, DeepPartial, DetectionConfig, DetectionRules, DeviceInfo, EngagementLevel, EngagementThresholds, HistoryParams, ListCorrectionRequestsParams, LocationData, Logger, NotificationConfig, ObjectId, ObjectIdLike, OccupancyData, OperationContext, PeriodStats, Priority, ReviewCorrectionRequestParams, StatsConfig, StreakConfig, SubmitCorrectionRequestParams, TargetModelConfig, TimeHints, TimeSlot, ToggleResult, ValidationConfig, ValidationResult, WorkSchedule } from './types.js'; import 'mongoose'; /** * @classytic/clockin * Modern Attendance Management System * * Type-safe | Plugin-based | Event-driven | Multi-tenant * * @version 2.0.0 * @author Classytic * @license MIT * * @example * ```typescript * import { ClockIn, isOk } from '@classytic/clockin'; * * const clockin = await ClockIn * .create() * .withModels({ Attendance, Membership }) * .build(); * * const result = await clockin.checkIn.record({ * member, * targetModel: 'Membership', * context: { organizationId }, * }); * * if (isOk(result)) { * console.log(`Total visits: ${result.value.stats.totalVisits}`); * } * ``` */ declare const _default: { ClockIn: typeof ClockIn; createClockIn: typeof createClockIn; ClockInError: typeof ClockInError; ok: typeof ok; err: typeof err; isOk: typeof isOk; isErr: typeof isErr; loggingPlugin: typeof loggingPlugin; notificationPlugin: typeof notificationPlugin; deepMerge: typeof deepMerge; }; export { ClockIn, ClockInError, createClockIn, deepMerge, _default as default, err, isErr, isOk, loggingPlugin, notificationPlugin, ok };