import { CSSProps } from "../../flex-ui-core/src"; import { WorkerState } from "../../state/WorkerState"; /** * Properties of AppStatusPanel theme. * * @typedef Theme.AppStatusPanelThemeProps * @property {CSSProps} Container - Styles container in AppStatusPanel. * @property {CSSProps} Container.disabled - Styles disabled state. * @property {CSSProps} Header - Styles header in AppStatusPanel. * @property {CSSProps} HeaderButton - Styles header button in AppStatusPanel. */ export interface AppStatusPanelThemeProps { Container: CSSProps & { disabled?: CSSProps; }; Header: CSSProps; HeaderButton: CSSProps; } /** * Properties of AppStatusPanel. * * @typedef AppStatusPanel.AppStatusPanelProps */ export interface AppStatusPanelProps { } /** * Properties of AppStatusPanelChildren. * * @typedef AppStatusPanel.AppStatusPanelChildrenProps * @property {WorkerState} [worker] - Worker state based on Worker SDK. * @property {boolean} [hasIncomingCallReservation] - Whether user has incoming call reservation. */ export interface AppStatusPanelChildrenProps extends AppStatusPanelProps { worker: WorkerState; }