/**
 * @file UnitySceneImporter.ts
 * @description Import Unity scenes (.unity) and prefabs (.prefab)
 * PRO-1.3: Scene Format Interoperability
 *
 * Parses Unity's YAML serialization format and converts to Nice2Dev entities.
 * Supports:
 * - Scene files (.unity)
 * - Prefab files (.prefab)
 * - Asset files (.asset)
 * - Animation clips (.anim)
 * - Materials (.mat)
 */
import { SceneImporter, ImportOptions, ImportResult, ParsedScene, ParsedComponent, ParsedAsset, ImportError } from './SceneImporter';
interface UnityTransform {
    m_LocalRotation: {
        x: number;
        y: number;
        z: number;
        w: number;
    };
    m_LocalPosition: {
        x: number;
        y: number;
        z: number;
    };
    m_LocalScale: {
        x: number;
        y: number;
        z: number;
    };
    m_Children?: {
        fileID: number;
    }[];
    m_Father?: {
        fileID: number;
    };
    m_RootOrder?: number;
}
export declare class UnitySceneImporter extends SceneImporter {
    private documents;
    private gameObjects;
    private transforms;
    private components;
    private prefabs;
    constructor();
    import(options: ImportOptions): Promise<ImportResult>;
    parseFile(content: string | ArrayBuffer, filePath: string): Promise<ParsedScene | ParsedAsset | null>;
    validate(sourcePath: string): Promise<ImportError[]>;
    private parseUnityFile;
    private parseUnityYAML;
    private buildSceneFromDocuments;
    private buildEntityFromTransform;
    private getComponentsForGameObject;
    private convertUnityComponent;
    private extractSceneSettings;
    private extractAssets;
    private extractSpriteReferences;
    private extractAudioReferences;
    private extractAnimationReferences;
    private quaternionToEulerY;
    private readFile;
    /** Convert Unity RectTransform to Nice2Dev format */
    protected convertRectTransform(transform: UnityTransform & {
        m_AnchorMin?: {
            x: number;
            y: number;
        };
        m_AnchorMax?: {
            x: number;
            y: number;
        };
        m_AnchoredPosition?: {
            x: number;
            y: number;
        };
        m_SizeDelta?: {
            x: number;
            y: number;
        };
        m_Pivot?: {
            x: number;
            y: number;
        };
    }): ParsedComponent;
}
export {};
