/* eslint-disable */ /* tslint:disable */ /** * This is an autogenerated file created by the Stencil compiler. * It contains typing information for all components that exist in this project. */ import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime"; export namespace Components { interface CanvasEditor { "autoStartScreenshot": boolean; "borderLabelText": string; "canvasEditorCancelText": string; "canvasEditorSaveText": string; "canvasEditorTitle": string; "editTextButtonText": string; "editTextPromptText": string; "existingScreenshot": string; "screenshotAttachedText": string; "screenshotButtonText": string; "screenshotErrorBrowserNotSupported": string; "screenshotErrorCancelled": string; "screenshotErrorGeneral": string; "screenshotErrorNotFound": string; "screenshotErrorNotSupported": string; "screenshotErrorPermission": string; "screenshotErrorUnexpected": string; "screenshotTakingText": string; "sizeLabelText": string; } interface FeedbackButton { "buttonPosition": string; "buttonStyle": string; "customFont": boolean; "emailAddress": string; "emailPlaceholder": string; "errorMessage": string; "errorMessage403": string; "errorMessage404": string; "fetchData": boolean; "footerText": string; "hideEmail": boolean; "hideIcon": boolean; "hideMobile": boolean; "hidePrivacyPolicy": boolean; "hideRating": boolean; "hideScreenshotButton": boolean; "isEmailRequired": boolean; "messagePlaceholder": string; "metadata": string; "modalPosition": string; "modalTitle": string; "modalTitleError": string; "modalTitleSuccess": string; "privacyPolicyText": string; "project": string; "rating": number; "ratingMode": string; "ratingPlaceholder": string; "ratingStarsPlaceholder": string; "recaptchaText": string; "screenshotAttachedText": string; "screenshotBorderLabelText": string; "screenshotButtonText": string; "screenshotEditTextButtonText": string; "screenshotEditTextPromptText": string; "screenshotEditorCancelText": string; "screenshotEditorSaveText": string; "screenshotEditorTitle": string; "screenshotErrorBrowserNotSupported": string; "screenshotErrorCancelled": string; "screenshotErrorGeneral": string; "screenshotErrorNotFound": string; "screenshotErrorNotSupported": string; "screenshotErrorPermission": string; "screenshotErrorUnexpected": string; "screenshotSizeLabelText": string; "screenshotTakingText": string; "sendButtonText": string; "sessionId": string; "submit": boolean; "successMessage": string; } interface FeedbackModal { "customFont": boolean; "emailAddress": string; "emailPlaceholder": string; "embedded": boolean; "errorMessage": string; "errorMessage403": string; "errorMessage404": string; "fetchData": boolean; "footerText": string; "hasSelectedElement": boolean; "hideEmail": boolean; "hidePrivacyPolicy": boolean; "hideRating": boolean; "hideScreenshotButton": boolean; "isEmailRequired": boolean; "messagePlaceholder": string; "metadata": ''; "modalPosition": string; "modalTitle": string; "modalTitleError": string; "modalTitleSuccess": string; "openModal": () => Promise; "privacyPolicyText": string; "project": string; "rating": number; "ratingMode": string; "ratingPlaceholder": string; "ratingStarsPlaceholder": string; "recaptchaText": string; "screenshotAttachedText": string; "screenshotBorderLabelText": string; "screenshotButtonText": string; "screenshotEditTextButtonText": string; "screenshotEditTextPromptText": string; "screenshotEditorCancelText": string; "screenshotEditorSaveText": string; "screenshotEditorTitle": string; "screenshotErrorBrowserNotSupported": string; "screenshotErrorCancelled": string; "screenshotErrorGeneral": string; "screenshotErrorNotFound": string; "screenshotErrorNotSupported": string; "screenshotErrorPermission": string; "screenshotErrorUnexpected": string; "screenshotSizeLabelText": string; "screenshotTakingText": string; "sendButtonText": string; "showModal": boolean; "showScreenshotMode": boolean; "showScreenshotTopBar": boolean; "successMessage": string; } } export interface CanvasEditorCustomEvent extends CustomEvent { detail: T; target: HTMLCanvasEditorElement; } export interface FeedbackButtonCustomEvent extends CustomEvent { detail: T; target: HTMLFeedbackButtonElement; } export interface FeedbackModalCustomEvent extends CustomEvent { detail: T; target: HTMLFeedbackModalElement; } declare global { interface HTMLCanvasEditorElement extends Components.CanvasEditor, HTMLStencilElement { } var HTMLCanvasEditorElement: { prototype: HTMLCanvasEditorElement; new (): HTMLCanvasEditorElement; }; interface HTMLFeedbackButtonElement extends Components.FeedbackButton, HTMLStencilElement { } var HTMLFeedbackButtonElement: { prototype: HTMLFeedbackButtonElement; new (): HTMLFeedbackButtonElement; }; interface HTMLFeedbackModalElement extends Components.FeedbackModal, HTMLStencilElement { } var HTMLFeedbackModalElement: { prototype: HTMLFeedbackModalElement; new (): HTMLFeedbackModalElement; }; interface HTMLElementTagNameMap { "canvas-editor": HTMLCanvasEditorElement; "feedback-button": HTMLFeedbackButtonElement; "feedback-modal": HTMLFeedbackModalElement; } } declare namespace LocalJSX { interface CanvasEditor { "autoStartScreenshot"?: boolean; "borderLabelText"?: string; "canvasEditorCancelText"?: string; "canvasEditorSaveText"?: string; "canvasEditorTitle"?: string; "editTextButtonText"?: string; "editTextPromptText"?: string; "existingScreenshot"?: string; "onScreenshotCancelled"?: (event: CanvasEditorCustomEvent) => void; "onScreenshotFailed"?: (event: CanvasEditorCustomEvent<{ error: string }>) => void; "onScreenshotReady"?: (event: CanvasEditorCustomEvent<{ screenshot: string }>) => void; "screenshotAttachedText"?: string; "screenshotButtonText"?: string; "screenshotErrorBrowserNotSupported"?: string; "screenshotErrorCancelled"?: string; "screenshotErrorGeneral"?: string; "screenshotErrorNotFound"?: string; "screenshotErrorNotSupported"?: string; "screenshotErrorPermission"?: string; "screenshotErrorUnexpected"?: string; "screenshotTakingText"?: string; "sizeLabelText"?: string; } interface FeedbackButton { "buttonPosition"?: string; "buttonStyle"?: string; "customFont"?: boolean; "emailAddress"?: string; "emailPlaceholder"?: string; "errorMessage"?: string; "errorMessage403"?: string; "errorMessage404"?: string; "fetchData"?: boolean; "footerText"?: string; "hideEmail"?: boolean; "hideIcon"?: boolean; "hideMobile"?: boolean; "hidePrivacyPolicy"?: boolean; "hideRating"?: boolean; "hideScreenshotButton"?: boolean; "isEmailRequired"?: boolean; "messagePlaceholder"?: string; "metadata"?: string; "modalPosition"?: string; "modalTitle"?: string; "modalTitleError"?: string; "modalTitleSuccess"?: string; "onFeedbackError"?: (event: FeedbackButtonCustomEvent<{ error: any }>) => void; "onFeedbackSent"?: (event: FeedbackButtonCustomEvent<{ feedback: any }>) => void; "privacyPolicyText"?: string; "project"?: string; "rating"?: number; "ratingMode"?: string; "ratingPlaceholder"?: string; "ratingStarsPlaceholder"?: string; "recaptchaText"?: string; "screenshotAttachedText"?: string; "screenshotBorderLabelText"?: string; "screenshotButtonText"?: string; "screenshotEditTextButtonText"?: string; "screenshotEditTextPromptText"?: string; "screenshotEditorCancelText"?: string; "screenshotEditorSaveText"?: string; "screenshotEditorTitle"?: string; "screenshotErrorBrowserNotSupported"?: string; "screenshotErrorCancelled"?: string; "screenshotErrorGeneral"?: string; "screenshotErrorNotFound"?: string; "screenshotErrorNotSupported"?: string; "screenshotErrorPermission"?: string; "screenshotErrorUnexpected"?: string; "screenshotSizeLabelText"?: string; "screenshotTakingText"?: string; "sendButtonText"?: string; "sessionId"?: string; "submit"?: boolean; "successMessage"?: string; } interface FeedbackModal { "customFont"?: boolean; "emailAddress"?: string; "emailPlaceholder"?: string; "embedded"?: boolean; "errorMessage"?: string; "errorMessage403"?: string; "errorMessage404"?: string; "fetchData"?: boolean; "footerText"?: string; "hasSelectedElement"?: boolean; "hideEmail"?: boolean; "hidePrivacyPolicy"?: boolean; "hideRating"?: boolean; "hideScreenshotButton"?: boolean; "isEmailRequired"?: boolean; "messagePlaceholder"?: string; "metadata"?: ''; "modalPosition"?: string; "modalTitle"?: string; "modalTitleError"?: string; "modalTitleSuccess"?: string; "onFeedbackError"?: (event: FeedbackModalCustomEvent<{ error: any }>) => void; "onFeedbackSent"?: (event: FeedbackModalCustomEvent<{ feedback: any }>) => void; "privacyPolicyText"?: string; "project"?: string; "rating"?: number; "ratingMode"?: string; "ratingPlaceholder"?: string; "ratingStarsPlaceholder"?: string; "recaptchaText"?: string; "screenshotAttachedText"?: string; "screenshotBorderLabelText"?: string; "screenshotButtonText"?: string; "screenshotEditTextButtonText"?: string; "screenshotEditTextPromptText"?: string; "screenshotEditorCancelText"?: string; "screenshotEditorSaveText"?: string; "screenshotEditorTitle"?: string; "screenshotErrorBrowserNotSupported"?: string; "screenshotErrorCancelled"?: string; "screenshotErrorGeneral"?: string; "screenshotErrorNotFound"?: string; "screenshotErrorNotSupported"?: string; "screenshotErrorPermission"?: string; "screenshotErrorUnexpected"?: string; "screenshotSizeLabelText"?: string; "screenshotTakingText"?: string; "sendButtonText"?: string; "showModal"?: boolean; "showScreenshotMode"?: boolean; "showScreenshotTopBar"?: boolean; "successMessage"?: string; } interface IntrinsicElements { "canvas-editor": CanvasEditor; "feedback-button": FeedbackButton; "feedback-modal": FeedbackModal; } } export { LocalJSX as JSX }; declare module "@stencil/core" { export namespace JSX { interface IntrinsicElements { "canvas-editor": LocalJSX.CanvasEditor & JSXBase.HTMLAttributes; "feedback-button": LocalJSX.FeedbackButton & JSXBase.HTMLAttributes; "feedback-modal": LocalJSX.FeedbackModal & JSXBase.HTMLAttributes; } } }