/** * Inspect Core Data .xcdatamodeld packages and SwiftData @Model classes from project files. * * Examples: * - Inspect all models: projectPath: "/path/to/MyApp" * - Core Data only: projectPath: "/path/to/MyApp", coreDataOnly: true * - SwiftData only: projectPath: "/path/to/MyApp", swiftDataOnly: true * - Show version history: projectPath: "/path/to/MyApp", showVersions: true * - Dump raw source: projectPath: "/path/to/MyApp", raw: "Task" * - Verbose output: projectPath: "/path/to/MyApp", verbose: true * * Pure file analysis — no simulator or build required. * * **Full documentation:** See rtfm({ toolName: "xcode-model-inspect" }) for detailed parameters and examples */ export declare function xcodeModelInspectTool(args: any): Promise<{ content: { type: "text"; text: string; }[]; structuredContent: { coreDataModels: number; swiftDataModels: number; totalEntities: number; }; }>; export declare const XCODE_MODEL_INSPECT_DOCS = "\n# xcode-model-inspect\n\nInspect Core Data .xcdatamodeld packages and SwiftData @Model classes from project source files.\nPure file analysis \u2014 no simulator, no build required.\n\n## What it does\n\nRecursively walks the project path and extracts:\n\n**Core Data (.xcdatamodeld)**\n- Reads .xccurrentversion to determine the active model version\n- Parses entity XML: names, isAbstract, parentEntity, representedClass\n- Attributes: name, attributeType, optional, defaultValueString\n- Relationships: name, destinationEntity, toMany, inverseName, optional\n- Fetch requests: name, predicateString\n\n**SwiftData (@Model classes)**\n- Detects @Model-decorated classes via regex\n- Extracts stored properties (var/let) excluding computed and @Relationship\n- Extracts @Relationship declarations with toMany detection ([] or Array<>)\n\n## Parameters\n\n- **projectPath** (string, optional): Root of Xcode project to inspect (default: '.')\n- **coreDataOnly** (boolean, optional): Skip SwiftData scanning\n- **swiftDataOnly** (boolean, optional): Skip Core Data scanning\n- **showVersions** (boolean, optional): Include all .xcdatamodel version entries with current flagged\n- **raw** (string, optional): Dump raw source for a named model (Swift class body or Core Data entity XML)\n- **verbose** (boolean, optional): Include per-entity/property breakdown in summary text\n\n## Returns\n\nJSON response with:\n- `coreData`: array of parsed .xcdatamodeld packages with entities, attributes, and relationships\n- `swiftData`: array of @Model classes with properties and relationships\n- `summary`: compact human-readable summary text\n- `note`: present when no models are found (not an error)\n\nstructuredContent: `{ coreDataModels, swiftDataModels, totalEntities }`\n\n## Examples\n\n### Inspect all models\n```typescript\nawait xcodeModelInspectTool({ projectPath: '/path/to/MyApp' })\n```\n\n### Core Data only with version history\n```typescript\nawait xcodeModelInspectTool({ projectPath: '/path/to/MyApp', coreDataOnly: true, showVersions: true })\n```\n\n### Dump raw source for a specific model\n```typescript\nawait xcodeModelInspectTool({ projectPath: '/path/to/MyApp', raw: 'Task' })\n```\n\n### Verbose output\n```typescript\nawait xcodeModelInspectTool({ projectPath: '/path/to/MyApp', verbose: true })\n```\n\n## Skipped Directories\n\nnode_modules, DerivedData, Pods, Carthage, .git, and any directory starting with '.'\n"; export declare const XCODE_MODEL_INSPECT_DOCS_MINI = "Inspect Core Data .xcdatamodeld packages and SwiftData @Model classes from project files. Pure file analysis, no simulator. Use rtfm({ toolName: \"xcode-model-inspect\" }) for docs."; //# sourceMappingURL=model-inspect.d.ts.map