import type { _NSView } from "../AppKit/NSView.js";
import type { _PHLivePhotoViewDelegate } from "./PHLivePhotoViewDelegate.js";
import type { _PHLivePhoto } from "../Photos/PHLivePhoto.js";
import type { CGRect } from "../structs/CGRect.js";
import type { PHLivePhotoViewContentMode } from "./PHLivePhotoViewContentMode.js";
import type { PHLivePhotoViewPlaybackStyle } from "./PHLivePhotoViewPlaybackStyle.js";
export declare class _PHLivePhotoView extends _NSView {
    static alloc(): _PHLivePhotoView;
    static new(): _PHLivePhotoView;
    init(): _PHLivePhotoView;
    /**
     * The following methods allow the client to manually trigger playback. If the live photo is changed during playback, it will be immediately interrupted.
     */
    startPlaybackWithStyle$(playbackStyle: PHLivePhotoViewPlaybackStyle): void;
    stopPlayback(): void;
    /**
     * Stops live photo playback. If animated is NO, the photo is immediately displayed.
     */
    stopPlaybackAnimated$(animated: boolean): void;
    delegate(): _PHLivePhotoViewDelegate | null;
    setDelegate$(value: _PHLivePhotoViewDelegate | null): void;
    /** Live photo displayed in the receiver. */
    livePhoto(): _PHLivePhoto | null;
    setLivePhoto$(value: _PHLivePhoto | null): void;
    /**
     * The mode in which the receiver will display its content. Defaults to PHLivePhotoViewContentModeAspectFit.
     */
    contentMode(): PHLivePhotoViewContentMode;
    setContentMode$(value: PHLivePhotoViewContentMode): void;
    /**
     * The rectangle, in the unit coordinate space, that defines the portion of the Live Photo contents that should be displayed. In this coordinate system, the point `{0.0,0.0}` refers to the upper left corner of the Live Photo, and `{1.0,1.0}` refers to the bottom right corner.
     */
    contentsRect(): CGRect;
    setContentsRect$(value: CGRect): void;
    /** The audio volume during playback */
    audioVolume(): number;
    setAudioVolume$(value: number): void;
    /** Indicates whether the audio of the Live Photo is muted. */
    muted(): boolean;
    setMuted$(value: boolean): void;
    /**
     * Directly access the livePhotoBadge in cases where it should be added to a different place in the view hierarchy and not the live photo view. This can be useful when the live photo view is added to a scroll view.
     */
    livePhotoBadgeView(): _NSView | null;
}
