import { FrameworkFileType, FrameworkId, UserConfig } from "../shared/types.mjs"; //#region src/detect-fw/index.d.ts type JsxTypesDescriptor = { importSource: string; runtimeModule: string; typesModule: string; typesNamespace: string; elementType?: string; componentProps?: string; }; type FrameworkDescriptor = { id: FrameworkId; name: string; label: string; fileType: FrameworkFileType; jsx?: JsxTypesDescriptor; className: string; }; type DetectedFramework = FrameworkDescriptor & { source: 'config' | 'tsconfig' | 'package.json' | 'default'; notes: string[]; }; declare const getJsxTypes: (framework: FrameworkDescriptor) => { elementType: string; componentProps: string; importSource?: string | undefined; runtimeModule?: string | undefined; typesModule?: string | undefined; typesNamespace?: string | undefined; }; declare const detectFramework: (options?: { cwd?: string; config?: UserConfig; packageJson?: Record; tsconfigPath?: string; }) => Promise; declare const listFrameworks: () => { id: FrameworkId; name: string; label: string; fileType: FrameworkFileType; className: string; jsx: JsxTypesDescriptor | undefined; }[]; //#endregion export { DetectedFramework, FrameworkDescriptor, JsxTypesDescriptor, detectFramework, getJsxTypes, listFrameworks };