/** * Port of ResourceGenerator.php — generates API Resource classes. */ import { SchemaReader } from './schema-reader.js'; import type { GeneratedFile, PhpConfig } from './types.js'; /** Generate Resource classes for all project-owned visible object schemas. * * Issue #101 v5.8.23 emitted ONLY the base — but child resources embed a * parent relation via `new \App\Http\Resources\Resource(...)` (the * editable sibling). With the sibling gone, any loaded relation fatals with a * "class not found" Error (issue #114). So the editable sibling is re-emitted * as a create-if-missing user file (`overwrite: false`): written once, never * regenerated (so it is not the scaffolding noise #101 removed), and the * cross-resource reference always resolves. */ export declare function generateResources(reader: SchemaReader, config: PhpConfig): GeneratedFile[];