import type { JsonObject } from '../../Common/jsonTypes.js'; import type { ReadOnlyVfs } from '../../Types/Vfs.types.js'; /** * Derives the model name and data source name from a schema. * Handles Dataverse entities, shared connectors, GUIDs, SQL stored procedures, and generic connectors. */ export declare function extractModelName(schema: unknown, schemaPath: string, vfs: ReadOnlyVfs): { modelName: string; dataSourceName: string; }; /** * Generates a compact single-line TypeScript object type for use inside `allOf` intersection types. * Returns a type expression like `{ id: string; name?: string; }`. */ export declare function generateCompactInlineObjectType(modelName: string, definition: JsonObject): string; /** * Generates an inline TypeScript object type string for a schema node that has nested `properties`. * Returns a type expression like `{ street?: string; city?: string; }` suitable for use as a * property type in both V1 string output and V2 ts-morph `type` fields. */ export declare function generateInlineObjectTypeString(modelName: string, definition: JsonObject, padding: string): string; /** Resolves the TypeScript type for a schema property, dispatching across optionsets, arrays, nested objects, refs, and primitives. */ export declare function determineTypeScriptType(modelName: string, propValue: JsonObject | undefined, padding: string, propName?: string): string; //# sourceMappingURL=modelUtils.d.ts.map