import type { MediaMaskValue, MediaStatus, MediaViewerItem, MediaValue } from './types'; export declare function useMedia(): { getRootClassNameObj: () => { [x: string]: boolean; }; getRootStyle: () => Record; getFileName: () => string; getValue: () => MediaValue; getViewerItem: () => MediaViewerItem; getMaskValue: () => MediaMaskValue; getDisplayStatus: () => MediaStatus; isLoading: () => boolean; isError: () => boolean; isDone: () => boolean; shouldShowVisualMediaContent: () => boolean; shouldShowLoadingIndicator: () => boolean; shouldShowImage: () => boolean; shouldShowVideo: () => boolean; shouldShowPlaceholder: () => boolean; shouldShowAudioLoader: () => boolean; shouldShowAudioCard: () => boolean; shouldShowErrorCard: () => boolean; rootRef: import('intact-vue').RefObject; imageRef: import('intact-vue').RefObject; videoRef: import('intact-vue').RefObject; audioRef: import('intact-vue').RefObject; getImageProps: () => { alt: string; src: string; draggable: boolean; 'ev-load': (e: Event) => void; 'ev-error': (e: Event) => void; loading: string; } | { alt: string; src: string; draggable: boolean; 'ev-load': (e: Event) => void; 'ev-error': (e: Event) => void; loading?: undefined; }; getVideoProps: () => { src: string; poster: string | undefined; 'ev-loadedmetadata': (e: Event) => void; 'ev-loadeddata': (e: Event) => void; 'ev-canplay': (e: Event) => void; 'ev-error': (e: Event) => void; preload: any; muted: boolean; playsinline: boolean; controls: boolean; tabindex: number; }; getVideoKey: () => string; getAudioLoaderProps: () => { src: string; 'ev-loadedmetadata': (e: Event) => void; 'ev-error': (e: Event) => void; preload: any; }; getAudioCardAssetSrc: () => string; getErrorCardAssetSrc: () => string; getMediaCardIconStyle: () => { width: string; height: string; } | undefined; getPlaceholderAssetStyle: () => { width: string; height: string; } | undefined; shouldShowLoadingOverlay: () => boolean; shouldShowLoadingVideoIcon: () => boolean; getPreviewIconClassName: () => "k-icon-visible" | "ion-ios-play"; getPlaceholderIconClassName: () => "" | "ion-ios-musical-note"; getPlaceholderAssetSrc: () => string; getPreviewTitle: () => "播放视频" | "播放音频" | "查看图片"; onClick: (e: MouseEvent) => void; onPreview: (e: any) => void; canPreview: () => boolean; shouldShowVideoPlayTrigger: () => boolean; shouldShowMaskLayer: () => boolean; isStandalonePreviewRendered: () => boolean; isStandalonePreviewVisible: () => boolean; closeStandalonePreview: () => void; afterStandalonePreviewClose: () => void; };