import { types } from '@wix/santa-platform-utils/dist/mediaItemUtils';

interface WixImageData {
    creator: string;
    creatorPicture: any;
    fileInput: Record<string, unknown>;
    fileName: string;
    fileUrl: string;
    guid: string;
    height: number;
    manifestId: any;
    mediaType: string;
    reference: string;
    tagsEn: string[];
    thumbnailUrl: string;
    title: string;
    vendor: string;
    width: number;
}
declare const getUriFromMediaManagerPayload$4: ({ uri, title, width, height, }: {
    uri: string;
    title: string;
    width: number;
    height: number;
}) => string;
declare const getUrl$4: (uri: string, targetWidth: number, targetHeight: number) => string;
declare const getOriginalSizeUrl: (uri: string) => string;
declare const isWixImageUri: (uri: string) => boolean;
declare const getTitle$4: (uri: string) => string;
declare const getDimensions: (uri: string) => {
    width: number;
    height: number;
};

type image_d_WixImageData = WixImageData;
declare const image_d_getDimensions: typeof getDimensions;
declare const image_d_getOriginalSizeUrl: typeof getOriginalSizeUrl;
declare const image_d_isWixImageUri: typeof isWixImageUri;
declare namespace image_d {
  export { type image_d_WixImageData as WixImageData, image_d_getDimensions as getDimensions, image_d_getOriginalSizeUrl as getOriginalSizeUrl, getTitle$4 as getTitle, getUriFromMediaManagerPayload$4 as getUriFromMediaManagerPayload, getUrl$4 as getUrl, image_d_isWixImageUri as isWixImageUri };
}

interface WixMedia {
    status?: string;
    secure?: boolean;
    format?: string;
    url: string;
    height: number;
    width: number;
}
interface WixVideoData {
    guid: string;
    mediaType: 'video';
    fileName: string;
    uri: string;
    fileUrl: string;
    title: string;
    width: number;
    height: number;
    fileOutput: {
        image: WixMedia[];
        video: WixMedia[];
    };
}
interface WixPosterData {
    id: string;
    fileUrl: string;
    title: string;
    posterUri: string;
    posterWidth: number;
    posterHeight: number;
    fileOutput?: {
        image: WixMedia[];
        video: WixMedia[];
    };
}
declare const isWixVideoUri: (uri: string) => boolean;
declare const getUriFromMediaManagerPayload$3: (payload: WixPosterData) => string;
declare const getPosterUri: (uri: string) => string;
declare const getTitle$3: (uri: string) => string;
declare const getUrl$3: (uri: string) => string;

type video_d_WixMedia = WixMedia;
type video_d_WixVideoData = WixVideoData;
declare const video_d_getPosterUri: typeof getPosterUri;
declare const video_d_isWixVideoUri: typeof isWixVideoUri;
declare namespace video_d {
  export { type video_d_WixMedia as WixMedia, type video_d_WixVideoData as WixVideoData, video_d_getPosterUri as getPosterUri, getTitle$3 as getTitle, getUriFromMediaManagerPayload$3 as getUriFromMediaManagerPayload, getUrl$3 as getUrl, video_d_isWixVideoUri as isWixVideoUri };
}

interface WixDocumentData {
    fileName: string;
    fileUrl: string;
    id: string;
    labels: string[];
    mediaType: 'document';
    sourceName: string;
    tags: string[];
    title: string;
    uri: string;
}
declare const getUriFromMediaManagerPayload$2: ({ uri, title, fileUrl, }: WixDocumentData) => string;
declare const getUrl$2: (uri: string, msid?: string) => string;
declare const getTitle$2: (uri: string) => string;
declare const isWixDocumentUri: (uri: string) => boolean;

type document_d_WixDocumentData = WixDocumentData;
declare const document_d_isWixDocumentUri: typeof isWixDocumentUri;
declare namespace document_d {
  export { type document_d_WixDocumentData as WixDocumentData, getTitle$2 as getTitle, getUriFromMediaManagerPayload$2 as getUriFromMediaManagerPayload, getUrl$2 as getUrl, document_d_isWixDocumentUri as isWixDocumentUri };
}

interface WixAudioData {
    fileInput: {
        duration: number;
    };
    fileName: string;
    fileUrl: string;
    id: string;
    labels: string[];
    mediaType: 'music';
    sourceName: string;
    tags: string[];
    title: string;
    uri: string;
}
declare const getUriFromMediaManagerPayload$1: ({ uri, title, fileInput: { duration }, }: WixAudioData) => string;
declare const getUrl$1: (uri: string) => string;
declare const getTitle$1: (uri: string) => string;
declare const getDuration: (uri: string) => number;
declare const isWixAudioUri: (uri: string) => boolean;

type audio_d_WixAudioData = WixAudioData;
declare const audio_d_getDuration: typeof getDuration;
declare const audio_d_isWixAudioUri: typeof isWixAudioUri;
declare namespace audio_d {
  export { type audio_d_WixAudioData as WixAudioData, audio_d_getDuration as getDuration, getTitle$1 as getTitle, getUriFromMediaManagerPayload$1 as getUriFromMediaManagerPayload, getUrl$1 as getUrl, audio_d_isWixAudioUri as isWixAudioUri };
}

interface WixVectorData {
    fileName: string;
    fileUrl: string;
    id: string;
    labels: string[];
    mediaType: 'shape';
    sourceName: string;
    tags: string[];
    title: string;
    uri: string;
}
declare const getUriFromMediaManagerPayload: ({ uri, title, }: {
    uri: string;
    title: string;
}) => string;
declare const getTitle: (uri: string) => string;
declare const getUrl: (uri: string) => string;
declare const isWixVectorUri: (uri: string) => boolean;

type vector_d_WixVectorData = WixVectorData;
declare const vector_d_getTitle: typeof getTitle;
declare const vector_d_getUriFromMediaManagerPayload: typeof getUriFromMediaManagerPayload;
declare const vector_d_getUrl: typeof getUrl;
declare const vector_d_isWixVectorUri: typeof isWixVectorUri;
declare namespace vector_d {
  export { type vector_d_WixVectorData as WixVectorData, vector_d_getTitle as getTitle, vector_d_getUriFromMediaManagerPayload as getUriFromMediaManagerPayload, vector_d_getUrl as getUrl, vector_d_isWixVectorUri as isWixVectorUri };
}

declare const getMediaTypeByUri: (uri: string) => any;
//# sourceMappingURL=mediaItem.d.ts.map

declare const mediaItem_d_getMediaTypeByUri: typeof getMediaTypeByUri;
declare namespace mediaItem_d {
  export { mediaItem_d_getMediaTypeByUri as getMediaTypeByUri, types as mediaTypes };
}

export { audio_d as audio, document_d as document, image_d as image, mediaItem_d as mediaItem, vector_d as vector, video_d as video };
