/** * Shared Import/Export Utilities * * Provides common re-export patterns and module aggregation * utilities to reduce duplication across qtests codebase. */ export declare function createReExport>(exports: T, modulePath: string): T; export declare function createGroupedExports>>(groups: T): T; export declare function mergeExports[]>(...exports: T): T[0]; export declare function createConditionalExports>(exports: T, condition: boolean): Partial; export declare function createNamespace>(namespace: string, exports: T): Record; export declare const commonReExports: { reExportAll: (module: any) => Record; reExportNamed: (module: any, names: string[]) => Record; reExportWithAlias: (module: any, aliasMap: Record) => Record; }; export declare const moduleAggregators: { aggregateSecurity: (modules: Record) => { validator: any; monitor: any; utils: any; middleware: any; }; aggregateValidation: (modules: Record) => { schemas: any; middleware: any; helpers: any; }; aggregateMemory: (modules: Record) => { monitor: any; cleanup: any; leakDetector: any; }; aggregateLogging: (modules: Record) => { core: any; wrappers: any; decorators: any; }; }; export declare const importUtils: { safeImport: (modulePath: string) => Promise; importWithFallback: (primaryPath: string, fallbackPath: string) => Promise; importMany: (modulePaths: string[]) => Promise<{ successful: Record; failed: string[]; }>; }; export declare const exportConfig: { createDefaultExport: (value: any) => { default: any; __esModule: boolean; }; createNamedExport: (exports: Record) => { __esModule: boolean; }; createMixedExport: (defaultExport: any, namedExports: Record) => { __esModule: boolean; default: any; }; }; export declare const exportTypes: { exportFunction: any>(fn: T) => T; exportClass: any>(cls: T) => T; exportObject: >(obj: T) => T; exportArray: (arr: T[]) => T[]; exportPromise: (promise: Promise) => Promise; }; export declare const barrelExports: { fromDirectory: (exports: Record, directoryName: string) => Record; categorized: (categories: Record>) => Record; nested: (structure: Record) => Record; }; //# sourceMappingURL=importExportUtils.d.ts.map