import type { NobjcObject } from "objc-js";
import type { _VZStorageDeviceAttachment } from "./VZStorageDeviceAttachment.js";
import type { _NSURL } from "../Foundation/NSURL.js";
import type { VZDiskImageCachingMode } from "./VZDiskImageCachingMode.js";
import type { VZDiskImageSynchronizationMode } from "./VZDiskImageSynchronizationMode.js";
export declare class _VZDiskImageStorageDeviceAttachment extends _VZStorageDeviceAttachment {
    static alloc(): _VZDiskImageStorageDeviceAttachment;
    static new(): _VZDiskImageStorageDeviceAttachment;
    init(): _VZDiskImageStorageDeviceAttachment;
    /**
     * Initialize the attachment from a local file url. Local file URL to the disk image in RAW format. If YES, the device attachment is read-only, otherwise the device can write data to the disk image. If not nil, assigned with the error if the initialization failed. A newly initialized VZDiskImageStorageDeviceAttachment. If an error was encountered returns and contains the error.
     */
    initWithURL$readOnly$error$(url: _NSURL, readOnly: boolean, error: NobjcObject | null): _VZDiskImageStorageDeviceAttachment | null;
    /**
     * Initialize the attachment from a local file url. Local file URL to the disk image in RAW format. If YES, the device attachment is read-only, otherwise the device can write data to the disk image. Whether host data caching is enabled for the disk image. How the disk image synchronizes with the underlying storage when the guest operating system flushes data. If not nil, assigned with the error if the initialization failed. A newly initialized VZDiskImageStorageDeviceAttachment. If an error was encountered returns and contains the error.
     */
    initWithURL$readOnly$cachingMode$synchronizationMode$error$(url: _NSURL, readOnly: boolean, cachingMode: VZDiskImageCachingMode, synchronizationMode: VZDiskImageSynchronizationMode, error: NobjcObject | null): _VZDiskImageStorageDeviceAttachment | null;
    /** URL of the underlying disk image. */
    URL(): _NSURL;
    /** Whether the underlying disk image is read-only. */
    readOnly(): boolean;
    /** How disk image data is cached by the host. */
    cachingMode(): VZDiskImageCachingMode;
    /**
     * The mode in which the disk image synchronizes data with the underlying storage device.
     */
    synchronizationMode(): VZDiskImageSynchronizationMode;
}
