/** * Generates the base types file content */ export function generateBaseTypes() { return `// AUTO-GENERATED FILE. DO NOT EDIT. // Brand symbol for type safety declare const __UNITY_ILLUSTRATION: unique symbol export interface IllustrationAssetBrand { readonly [__UNITY_ILLUSTRATION]: true } // Base interfaces export interface BaseSvgAsset { readonly type: 'svg' readonly url: string readonly animated: false } export interface BaseImageAsset { readonly type: 'image' readonly url: string readonly animated: boolean } export interface BaseAnimatedImageAsset extends BaseImageAsset { readonly animated: true readonly dimensions: { readonly width: number readonly height: number } readonly category: 'animation' } // Branded wrapper type export type IllustrationAsset = T & IllustrationAssetBrand ` }