// @flow import type {Slide, Content} from "../../../types"; declare export default function(slides: Array<{_id: string, chapter_id: string, position?: ?number, question: {content: {answers: Array>}, type: "qcm"} | {content: {answers: Array>}, type: "qcmGraphic"} | {content: {answers: Array>, matchOrder: boolean}, type: "qcmDrag"} | {content: {answers: Array>}, type: "slider"} | {content: {answers: Array>, maxTypos?: ?number}, type: "basic"} | {content: {answers: Array>, choices: Array<{type: "text" | "select"}>, matchOrder: boolean, maxTypos?: ?number}, type: "template"}}>, content: ?{ref: string, type: string, version?: string} | {ref: string, type: "video" | "pdf", version?: string}): {_id: string, chapter_id: string, position?: ?number, question: {content: {answers: Array>}, type: "qcm"} | {content: {answers: Array>}, type: "qcmGraphic"} | {content: {answers: Array>, matchOrder: boolean}, type: "qcmDrag"} | {content: {answers: Array>}, type: "slider"} | {content: {answers: Array>, maxTypos?: ?number}, type: "basic"} | {content: {answers: Array>, choices: Array<{type: "text" | "select"}>, matchOrder: boolean, maxTypos?: ?number}, type: "template"}};