/* 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 { SessionData } from "./utils/SessionData"; import { SfErrorEventDetail } from "./components/sf-featurepriority/sf-featurepriority"; export { SessionData } from "./utils/SessionData"; export { SfErrorEventDetail } from "./components/sf-featurepriority/sf-featurepriority"; export namespace Components { interface SfFeaturepriority { /** * @default 'Thank you for your response!' */ "completionMessage": string; /** * Every schema field is required when a schema exists; schema-less surveys accept safe flat string, finite number, and boolean values. Assign complete Session Data before setting surveyKey, and reassign a new object whenever values change to trigger a refetch. * @default {} */ "sessionData": SessionData; "surveyKey": string; /** * Message shown after submission. Overrides the saved survey thank-you message when provided. */ "thankYouMessage"?: string; } } export interface SfFeaturepriorityCustomEvent extends CustomEvent { detail: T; target: HTMLSfFeaturepriorityElement; } declare global { interface HTMLSfFeaturepriorityElementEventMap { "sfError": SfErrorEventDetail; } interface HTMLSfFeaturepriorityElement extends Components.SfFeaturepriority, HTMLStencilElement { addEventListener(type: K, listener: (this: HTMLSfFeaturepriorityElement, ev: SfFeaturepriorityCustomEvent) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLSfFeaturepriorityElement, ev: SfFeaturepriorityCustomEvent) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } var HTMLSfFeaturepriorityElement: { prototype: HTMLSfFeaturepriorityElement; new (): HTMLSfFeaturepriorityElement; }; interface HTMLElementTagNameMap { "sf-featurepriority": HTMLSfFeaturepriorityElement; } } declare namespace LocalJSX { type OneOf = { [P in K]: PropT } & { [P in `attr:${K}` | `prop:${K}`]?: never } | { [P in `attr:${K}`]: AttrT } & { [P in K | `prop:${K}`]?: never } | { [P in `prop:${K}`]: PropT } & { [P in K | `attr:${K}`]?: never }; interface SfFeaturepriority { /** * @default 'Thank you for your response!' */ "completionMessage"?: string; "onSfError"?: (event: SfFeaturepriorityCustomEvent) => void; /** * Every schema field is required when a schema exists; schema-less surveys accept safe flat string, finite number, and boolean values. Assign complete Session Data before setting surveyKey, and reassign a new object whenever values change to trigger a refetch. * @default {} */ "sessionData"?: SessionData; "surveyKey": string; /** * Message shown after submission. Overrides the saved survey thank-you message when provided. */ "thankYouMessage"?: string; } interface SfFeaturepriorityAttributes { "surveyKey": string; "thankYouMessage": string; "completionMessage": string; } interface IntrinsicElements { "sf-featurepriority": Omit & { [K in keyof SfFeaturepriority & keyof SfFeaturepriorityAttributes]?: SfFeaturepriority[K] } & { [K in keyof SfFeaturepriority & keyof SfFeaturepriorityAttributes as `attr:${K}`]?: SfFeaturepriorityAttributes[K] } & { [K in keyof SfFeaturepriority & keyof SfFeaturepriorityAttributes as `prop:${K}`]?: SfFeaturepriority[K] } & OneOf<"surveyKey", SfFeaturepriority["surveyKey"], SfFeaturepriorityAttributes["surveyKey"]>; } } export { LocalJSX as JSX }; declare module "@stencil/core" { export namespace JSX { interface IntrinsicElements { "sf-featurepriority": LocalJSX.IntrinsicElements["sf-featurepriority"] & JSXBase.HTMLAttributes; } } }