import type { AppStateInstruction, HTMLElementWithConfiguration } from './common'; import type { BaseUiConfiguration, ButtonControlsConfiguration, InitializedBaseUiConfiguration, InitializedButtonControlsConfiguration, InitializedPlaceholderConfiguration } from './configuration'; import type { CornerValues, CustomElement, DeepRequired, EyeGazeInstructionCode } from '../../../ui-common/src/types'; export * from './common'; declare global { namespace preact.JSX { interface IntrinsicElements { 'x-dot-eye-gaze-liveness-ui': CustomElement<{ configuration: EyeGazeLivenessUiConfiguration; }>; } } namespace React.JSX { interface IntrinsicElements { 'x-dot-eye-gaze-liveness-ui': CustomElement<{ configuration: EyeGazeLivenessUiConfiguration; }>; } } } export type EyeGazeInstructions = Record; type CustomizableInstructions = Omit; export type EyeGazeLivenessUiConfiguration = BaseUiConfiguration & { collectionPhasePlaceholder?: string; corners: Array; }; export type InitializedEyeGazeLivenessUiConfiguration = InitializedBaseUiConfiguration & InitializedPlaceholderConfiguration & { collectionPhasePlaceholder?: string; corners: Array; }; export type HTMLEyeGazeLivenessUiElement = HTMLElementWithConfiguration; export type EyeGazeStateInstructions = { done?: AppStateInstruction; loading?: AppStateInstruction; }; export type UiEyeGazeStateInstructions = { [key: string]: DeepRequired; };