/** * API Log Model - TypeScript Implementation * * This class focuses solely on API log model functionality and behavior. * It extends BaseMockModel with logging-specific methods and properties. */ import { BaseMockModel } from './baseMockModel.js'; interface ApiLogData { _id?: string; level?: string; message?: string; timestamp?: Date; allowedApi?: string; [key: string]: any; } interface LogQueryChain { data: any[]; sort: () => LogQueryChain; skip: () => LogQueryChain; limit: () => LogQueryChain; lean: () => Promise; } declare const mockLogs: any[]; /** * API Log Model Class * * Provides Mongoose-compatible API log model for testing scenarios. * Includes logging-specific validation and query methods. */ declare class ApiLog extends BaseMockModel { level?: string; message?: string; timestamp?: Date; allowedApi?: string; constructor(data?: ApiLogData); static getCollection(): any[]; static find(query?: { allowedApi?: string; [key: string]: any; }): LogQueryChain; } export { ApiLog, mockLogs }; //# sourceMappingURL=apiLogModel.d.ts.map