File size: 578 Bytes
f581cc4
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
export type AppState = "requesting-permission" | "welcome" | "loading" | "captioning";

export interface GlassEffectProps {
  baseFrequency?: number;
  numOctaves?: number;
  scale?: number;
  bgColor?: string;
  highlight?: string;
}

export interface WebcamPermissionError {
  type: "general" | "https" | "not-supported" | "permission";
  message: string;
  details: string;
}

export interface Position {
  x: number;
  y: number;
}

export interface Dimensions {
  width: number;
  height: number;
}

export type InitialPosition = "bottom-left" | "bottom-right" | Position;