import type { RobotsSummary } from '../../../../types/robots'; import { EntryFieldOption } from '../../../../types/robots-format'; /** * Lets the person pick a field for each output of a summary, and hands the chosen fields' new values to * `onApply`. A field can be the target of one output only. */ export default function ApplyDialog({ title, help, summary, fields, values, fixedTargets, onApply, onClose, }: { title: string; help: string; /** The newest of the video's Summarize and Analyze structure results, which the dialog names. */ summary: RobotsSummary; fields: EntryFieldOption[]; /** What each field holds now, by name. */ values: Record; /** Each output has one field of its own (see `onlyFor`): a checkbox applies it, instead of a choice of field. */ fixedTargets?: boolean; /** The new value of each chosen field, by name. */ onApply: (values: Record) => void; onClose: () => void; }): import("react/jsx-runtime").JSX.Element;