import { ProfilerStorage } from '../storage/profiler-storage.interface'; export interface ProfilerExplainOptions { enabled?: boolean; analyze?: boolean; thresholdMs?: number; } export type ProfilerStorageType = 'memory' | ProfilerStorage; export type ProfilerAuth = { enabled: false; } | { enabled: true; username: string; password: string; }; export interface ProfilerOptions { enabled?: boolean; storage?: ProfilerStorageType; pgDriver?: any; mongoDriver?: any; mysqlDriver?: any; collectQueries?: boolean; collectLogs?: boolean; collectMongo?: boolean; collectCache?: boolean; collectMysql?: boolean; collectHttp?: boolean; explain?: ProfilerExplainOptions; auth?: ProfilerAuth; }