/* 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"; import { ActionSheetOption } from "./definitions"; export { ActionSheetOption } from "./definitions"; export namespace Components { interface PwaActionSheet { "cancelable": boolean; "header": string; "options": ActionSheetOption[]; } interface PwaCamera { "facingMode": string; "handleNoDeviceError": (e?: any) => void; "handlePhoto": (photo: Blob) => void; "hidePicker": boolean; "noDevicesButtonText": string; "noDevicesText": string; } interface PwaCameraModal { "dismiss": () => Promise; "facingMode": string; "hidePicker": boolean; "present": () => Promise; } interface PwaCameraModalInstance { "facingMode": string; "hidePicker": boolean; "noDevicesButtonText": string; "noDevicesText": string; } interface PwaToast { "duration": number; "message": string; } } export interface PwaActionSheetCustomEvent extends CustomEvent { detail: T; target: HTMLPwaActionSheetElement; } export interface PwaCameraModalCustomEvent extends CustomEvent { detail: T; target: HTMLPwaCameraModalElement; } export interface PwaCameraModalInstanceCustomEvent extends CustomEvent { detail: T; target: HTMLPwaCameraModalInstanceElement; } declare global { interface HTMLPwaActionSheetElement extends Components.PwaActionSheet, HTMLStencilElement { } var HTMLPwaActionSheetElement: { prototype: HTMLPwaActionSheetElement; new (): HTMLPwaActionSheetElement; }; interface HTMLPwaCameraElement extends Components.PwaCamera, HTMLStencilElement { } var HTMLPwaCameraElement: { prototype: HTMLPwaCameraElement; new (): HTMLPwaCameraElement; }; interface HTMLPwaCameraModalElement extends Components.PwaCameraModal, HTMLStencilElement { } var HTMLPwaCameraModalElement: { prototype: HTMLPwaCameraModalElement; new (): HTMLPwaCameraModalElement; }; interface HTMLPwaCameraModalInstanceElement extends Components.PwaCameraModalInstance, HTMLStencilElement { } var HTMLPwaCameraModalInstanceElement: { prototype: HTMLPwaCameraModalInstanceElement; new (): HTMLPwaCameraModalInstanceElement; }; interface HTMLPwaToastElement extends Components.PwaToast, HTMLStencilElement { } var HTMLPwaToastElement: { prototype: HTMLPwaToastElement; new (): HTMLPwaToastElement; }; interface HTMLElementTagNameMap { "pwa-action-sheet": HTMLPwaActionSheetElement; "pwa-camera": HTMLPwaCameraElement; "pwa-camera-modal": HTMLPwaCameraModalElement; "pwa-camera-modal-instance": HTMLPwaCameraModalInstanceElement; "pwa-toast": HTMLPwaToastElement; } } declare namespace LocalJSX { interface PwaActionSheet { "cancelable"?: boolean; "header"?: string; "onOnCanceled"?: (event: PwaActionSheetCustomEvent) => void; "onOnSelection"?: (event: PwaActionSheetCustomEvent) => void; "options"?: ActionSheetOption[]; } interface PwaCamera { "facingMode"?: string; "handleNoDeviceError"?: (e?: any) => void; "handlePhoto"?: (photo: Blob) => void; "hidePicker"?: boolean; "noDevicesButtonText"?: string; "noDevicesText"?: string; } interface PwaCameraModal { "facingMode"?: string; "hidePicker"?: boolean; "onNoDeviceError"?: (event: PwaCameraModalCustomEvent) => void; "onOnPhoto"?: (event: PwaCameraModalCustomEvent) => void; } interface PwaCameraModalInstance { "facingMode"?: string; "hidePicker"?: boolean; "noDevicesButtonText"?: string; "noDevicesText"?: string; "onNoDeviceError"?: (event: PwaCameraModalInstanceCustomEvent) => void; "onOnPhoto"?: (event: PwaCameraModalInstanceCustomEvent) => void; } interface PwaToast { "duration"?: number; "message"?: string; } interface IntrinsicElements { "pwa-action-sheet": PwaActionSheet; "pwa-camera": PwaCamera; "pwa-camera-modal": PwaCameraModal; "pwa-camera-modal-instance": PwaCameraModalInstance; "pwa-toast": PwaToast; } } export { LocalJSX as JSX }; declare module "@stencil/core" { export namespace JSX { interface IntrinsicElements { "pwa-action-sheet": LocalJSX.PwaActionSheet & JSXBase.HTMLAttributes; "pwa-camera": LocalJSX.PwaCamera & JSXBase.HTMLAttributes; "pwa-camera-modal": LocalJSX.PwaCameraModal & JSXBase.HTMLAttributes; "pwa-camera-modal-instance": LocalJSX.PwaCameraModalInstance & JSXBase.HTMLAttributes; "pwa-toast": LocalJSX.PwaToast & JSXBase.HTMLAttributes; } } }