import { LitElement } from 'lit'; import '@amityeko/design-system/dist/providers/notification'; import '../../components/image-layout'; import '../../components/badges-dashboard'; import '../../components/image-layout-list'; import '../../components/create-recognition'; import '../../components/create-recognition-preview'; import RnRImageLayout from '../../components/image-layout'; import RnRBadgesDashboard from '../../components/badges-dashboard'; import RnRImageLayoutList from '../../components/image-layout-list'; import RnRCreateRecognition from '../../components/create-recognition'; import RnRCreateRecognitionPreview from '../../components/create-recognition-preview'; /** * The element can be triggered in two ways: * - by calling show() API * - by placing a clickable element inside the element * * @slot default - Element that triggers the recognition creation flow. * * @event {{ recognitionId }} rnr-client-recognition-created - Emitted when a new recognition * is successfully created. */ export default class RnRPageCreateRecognition extends LitElement { badgeDashboard: RnRBadgesDashboard; createRecognition: RnRCreateRecognition; createRecognitionPreview: RnRCreateRecognitionPreview; imageLayoutList: RnRImageLayoutList; imageLayout: RnRImageLayout; receiverId?: string; receiverDisplayName?: string; previewScale?: number; /** Starts the recognition creation flow. */ show(): void; private _onClickContinue; private _onCreateRecognitionBack; private _onCreateRecognitionConfirm; private _onCreateRecognitionPreviewBack; private _onCreateRecognitionSuccess; private _onCreateRecognitionReset; private _onUploadImage; private _onUploadImageCancel; private _onSelectImageLayout; private _onBackImageLayoutList; private _onImageLayoutConfirm; private _onImageLayoutBack; private _onClickTrigger; protected render(): import("lit-html").TemplateResult<1>; } declare global { interface HTMLElementTagNameMap { 'rnr-page-create-recognition': RnRPageCreateRecognition; } }