import { LitElement } from 'lit'; import { IGif } from '@giphy/js-types'; import '@amityeko/design-system/dist/elements/typography/tg-caption'; import '@amityeko/design-system/dist/elements/typography/tg-label-two'; import '@amityeko/design-system/dist/elements/icon'; import '@amityeko/design-system/dist/elements/input'; import '@amityeko/design-system/dist/elements/video'; import '@amityeko/design-system/dist/elements/button'; import '@amityeko/design-system/dist/elements/dialog'; import '@amityeko/design-system/dist/elements/textarea'; import '@amityeko/design-system/dist/elements/image-editor'; import '@amityeko/design-system/dist/elements/image-selector'; import '@amityeko/design-system/dist/elements/color-selector'; import '@amityeko/design-system/dist/elements/chips-selection'; import type AmityekoInput from '@amityeko/design-system/dist/elements/input'; import type AmityekoDialog from '@amityeko/design-system/dist/elements/dialog'; import type AmityekoTextarea from '@amityeko/design-system/dist/elements/textarea'; import AmityekoImageEditor from '@amityeko/design-system/dist/elements/image-editor'; import type AmityekoImageSelector from '@amityeko/design-system/dist/elements/image-selector'; import type AmityekoColorSelector from '@amityeko/design-system/dist/elements/color-selector'; import type { ImageSelectorAsset } from '@amityeko/design-system/dist/elements/image-selector/types'; import '../audio'; import '../record-audio'; import '../record-video'; import '../image-layout-content'; import { Images } from '../image-layout/types'; import { BadgeList } from '../badges-dashboard/types'; import type RnRRecordAudio from '../record-audio'; import RnRRecordVideo from '../record-video'; import type RnRImageLayoutContent from '../image-layout-content'; import './gif-selector-dialog'; import type RnRGifSelectorDialog from './gif-selector-dialog'; declare const RnRCreateRecognition_base: (new (...args: any[]) => import("@amityeko/pbc-core/dist/providers/auth/consumer-mixin").AuthConsumerInterface) & typeof LitElement; /** * @slot default - Element that triggers the dialog with create recognition */ export default class RnRCreateRecognition extends RnRCreateRecognition_base { static styles: import("lit").CSSResult; createRecognitionDialog: AmityekoDialog; discardChangesDialog: AmityekoDialog; gifSelectorDialog: RnRGifSelectorDialog; imageEditorDialog: AmityekoImageEditor; recordAudioDialog: RnRRecordAudio; recordVideoDialog: RnRRecordVideo; messageElem: AmityekoTextarea; backgroundImgElem: AmityekoImageSelector; textColorElem: AmityekoColorSelector; imageLayoutContentElem: RnRImageLayoutContent; gifElem: HTMLDivElement; videoTitle: AmityekoInput; videoTitleColorElem: AmityekoColorSelector; discardVideoDialog: AmityekoDialog; audioTitle: AmityekoInput; audioBackgroundImgElem: AmityekoImageSelector; audioTitleColorElem: AmityekoColorSelector; audioImageLayoutContentElem: RnRImageLayoutContent; audioGifElem: HTMLDivElement; badge?: BadgeList; backgroundList?: ImageSelectorAsset[]; images?: Images; type: string; videoURL?: string; videoData?: Blob; newType?: string; gif?: IGif; audioURL?: string; isSafari: boolean; badgeLimit?: number; footerInfoText?: string; isLimitationLoading: boolean; firstUpdated(): void; show(badge?: any, images?: any): void; reset(): void; private _onTriggerClick; private _onDialogBack; private _getBadgeLimitation; private _onSelectType; private _onContinueEditing; private _onDiscardChanges; private _handleFile; private _handleBackgroundImage; private _onClickAddGifButton; private _onBackGifSelector; private _onSelectGif; private _handleUploadImage; private _onClickResetVisualButton; private _handleRecordVideo; private _onVideoRecordStop; private _onVideoRecordBack; private _handleUploadVideo; private _onContinueVideo; private _onDiscardVideo; private _handleRecordAudio; private _onAudioRecordStop; private _onAudioRecordBack; private _handleUploadAudio; private _checkFormValidity; private _onConfirmCreateRecognitionDialog; private _renderText; private _renderVideoRecord; private _renderVideo; private _renderAudio; protected render(): import("lit-html").TemplateResult<1>; } declare global { interface HTMLElementTagNameMap { 'rnr-create-recognition': RnRCreateRecognition; } } export {};