import { type AddElementSource, type ElementDetails } from "./getElement"; export type AddElement = { element: ElementDetails; mode: AddElementSource; scanTime?: number; }; type InitialTabProps = "camera" | "scanner" | "manual"; export type ElementLookupDialogSharedProps = { open: boolean; onClose: () => void; initialTab?: InitialTabProps | null; useSearch?: boolean; allowEmptyElement?: boolean; }; export type ElementLookupDialogSingleModeProps = ElementLookupDialogSharedProps & { mode: "single" | "search"; onAdd: (element: AddElement) => Promise; }; export type ElementLookupDialogMultiModeProps = ElementLookupDialogSharedProps & { mode: "multi"; onAdd: (element: AddElement[]) => Promise; }; export type ElementLookupDialogProps = ElementLookupDialogSingleModeProps | ElementLookupDialogMultiModeProps; export declare function ElementLookupDialog(props: ElementLookupDialogProps): import("react").JSX.Element; export {};