import type { _NSError } from "../Foundation/NSError.js";
import type { _NSObject } from "../Foundation/NSObject.js";
import type { _NSURL } from "../Foundation/NSURL.js";
import type { _MLModelAsset } from "./MLModelAsset.js";
import type { _MLModelStructureNeuralNetwork } from "./MLModelStructureNeuralNetwork.js";
import type { _MLModelStructurePipeline } from "./MLModelStructurePipeline.js";
import type { _MLModelStructureProgram } from "./MLModelStructureProgram.js";
export declare class _MLModelStructure extends _NSObject {
    static alloc(): _MLModelStructure;
    static new(): _MLModelStructure;
    init(): _MLModelStructure;
    /**
     * Construct the model structure asynchronously given the location of its on-disk representation. @param url The location of its on-disk representation (.mlmodelc directory). @param handler When the model structure is constructed successfully or unsuccessfully, the completion handler is invoked with a valid MLModelStructure instance or NSError object.
     */
    static loadContentsOfURL$completionHandler$(url: _NSURL, handler: ((modelStructure: _MLModelStructure, error: _NSError) => void) | null): void;
    /**
     * Construct the model structure asynchronously given the model asset. @param asset The model asset. @param handler When the model structure is constructed successfully or unsuccessfully, the completion handler is invoked with a valid MLModelStructure instance or NSError object.
     */
    static loadModelAsset$completionHandler$(asset: _MLModelAsset, handler: ((modelStructure: _MLModelStructure, error: _NSError) => void) | null): void;
    /**
     * If the model is of NeuralNetwork type then it is the structure of the NeuralNetwork otherwise `nil`.
     */
    neuralNetwork(): _MLModelStructureNeuralNetwork | null;
    /**
     * If the model is of ML Program type then it is the structure of the ML Program otherwise `nil`.
     */
    program(): _MLModelStructureProgram | null;
    /**
     * If the model is of Pipeline type then it is the structure of the Pipeline otherwise `nil`.
     */
    pipeline(): _MLModelStructurePipeline | null;
}
