import type { NobjcObject } from "objc-js";
import type { _NSData } from "../Foundation/NSData.js";
import type { _NSURL } from "../Foundation/NSURL.js";
export interface _MTL4PipelineDataSetSerializer {
    /**
     * Serializes a pipeline data set to an archive. - Parameters: - url: the URL used to serialize the serializer data set as an archive to. - error: an optional parameter to store information in case of an error. - Returns: a boolean indicating whether the operation was successful.
     */
    serializeAsArchiveAndFlushToURL$error$?(url: _NSURL, error: NobjcObject | null): boolean;
    /**
     * Serializes a serializer data set to a pipeline script as raw data. - Parameters: - error: an optional parameter to store information in case of an error. - Returns: an `NSData` instance containing the pipeline script.
     */
    serializeAsPipelinesScriptWithError$?(error: NobjcObject | null): _NSData | null;
}
