export declare function buildImage(index: any, name: any, height: any, width: any): { display_name: any; href: string; id: any; preview_url: string; thumbnail_url: string; content_type: string; date: string; filename: any; }; export declare function getSession(): Promise<{ contextType: string; contextId: number; canUploadFiles: boolean; usageRightsRequired: boolean; }>; export declare function initializeFolders(): {}; export declare function initializeImages(props: any): { [props.contextType]: { files: never[]; bookmark: undefined; hasMore: boolean; isLoading: boolean; }; }; export declare function initializeUpload(): { uploading: boolean; folders: {}; formExpanded: boolean; }; export declare function initializeCollection(endpoint: any): { links: never[]; bookmark: any; loading: boolean; }; export declare function initializeDocuments(_props: any): { course: { files: never[]; bookmark: string; isLoading: boolean; hasMore: boolean; }; user: { files: never[]; bookmark: string; isLoading: boolean; hasMore: boolean; }; }; export declare function initializeMedia(_props: any): { course: { files: never[]; bookmark: string; isLoading: boolean; hasMore: boolean; }; user: { files: never[]; bookmark: string; isLoading: boolean; hasMore: boolean; }; }; export declare function fetchFolders(): Promise; export declare function fetchFiles(uri?: string): Promise; export declare function fetchImages(props: any): Promise; export declare function fetchMediaFolder(): Promise<{ folders: { id: number; name: string; parentId: number; filesUrl: string; foldersUrl: string; }[]; bookmark: string; }>; export declare function preflightUpload(): Promise; export declare function uploadFRD(): Promise; export declare function fetchRootFolder(props: any): Promise<{ folders: { id: number; name: string; filesUrl: string; foldersUrl: string; }[]; }>; export declare function fetchPage(uri: any): Promise; export declare function setUsageRights(id: any, usageRights: any): void; export declare function getFile(id: any): Promise<{ id: any; type: string; name: string; url: string; embed: { type: string; }; }>; export declare function fetchDocs(state: any): Promise; export declare function fetchMedia(state: any): Promise; export declare function updateMediaObject(state: any, { media_object_id, title }: { media_object_id: any; title: any; }): Promise; export declare function updateMediaObjectFailure(): Promise; export declare function updateClosedCaptions(): Promise;