export declare const REQUEST_INITIAL_MEDIA = "REQUEST_INITIAL_MEDIA"; export declare const REQUEST_MEDIA = "REQUEST_MEDIA"; export declare const RECEIVE_MEDIA = "RECEIVE_MEDIA"; export declare const FAIL_MEDIA = "FAIL_MEDIA"; export declare function requestInitialMedia(contextType: any): { type: string; payload: { contextType: any; }; }; export declare function requestMedia(contextType: any): { type: string; payload: { contextType: any; }; }; export declare function receiveMedia({ response, contextType }: { contextType: any; response: any; }): { type: string; payload: { files: any; bookmark: any; contextType: any; }; }; export declare function failMedia({ error, contextType }: { contextType: any; error: any; }): { type: string; payload: { error: any; contextType: any; }; }; export declare function fetchMedia(): (dispatch: any, getState: any) => any; export declare function fetchNextMedia(): (dispatch: any, getState: any) => any; export declare function fetchInitialMedia(): (dispatch: any, getState: any) => any; /** * Update a media object's title and optionally its closed captions * @param {Object} params * @param {string} params.media_object_id - Media object ID * @param {string} params.attachment_id - Attachment ID (if video from file upload) * @param {string} params.title - New title for the media * @param {Array} params.subtitles - Subtitle/caption data (optional) * @param {boolean} params.skipCaptionUpdate - If true, skip updating captions even if subtitles provided (default: false) * @param {Object} params.viewerRestrictions - Viewer restrictions to apply for this media (default: {}) * @returns {Function} Redux thunk */ export declare function updateMediaObject({ media_object_id, attachment_id, title, subtitles, skipCaptionUpdate, viewerRestrictions, }: { media_object_id: string; attachment_id: string; title: string; subtitles: any[]; skipCaptionUpdate: boolean; viewerRestrictions: Object; }): Function;