import React from 'react'; import { StyleProp, ViewStyle } from 'react-native'; /** * Interface defining the props for the OtherGridComponent. */ /** * Options for rendering `OtherGridComponent`. * * @interface OtherGridComponentOptions * * **Content:** * @property {React.ReactNode} children Elements rendered inside the secondary grid. * * **Appearance:** * @property {string} backgroundColor Background color for the container. * @property {number | string} width Width of the grid. * @property {number | string} height Height of the grid. * @property {boolean} [showAspect=true] Controls whether the grid is visible. * @property {StyleProp} [style] Additional styles for the outer container. * * **Timer:** * @property {boolean} showTimer Controls visibility of the meeting progress timer. * @property {string} meetingProgressTime Time string displayed by the timer. * @property {string} [timeBackgroundColor] Background tint applied to the timer. * * **Advanced Render Overrides:** * @property {(options: { defaultContent: JSX.Element; dimensions: { width: number; height: number } }) => JSX.Element} [renderContent] * Customize the inner layout. * @property {(options: { defaultContainer: JSX.Element; dimensions: { width: number; height: number } }) => JSX.Element} [renderContainer] * Replace the outer container implementation. */ export interface OtherGridComponentOptions { backgroundColor: string; children: React.ReactNode; width: number | string; height: number | string; showAspect?: boolean; timeBackgroundColor?: string; showTimer: boolean; meetingProgressTime: string; style?: StyleProp; renderContent?: (options: { defaultContent: JSX.Element; dimensions: { width: number; height: number; }; }) => JSX.Element; renderContainer?: (options: { defaultContainer: JSX.Element; dimensions: { width: number; height: number; }; }) => JSX.Element; } export type OtherGridComponentType = React.FC; /** * OtherGridComponent renders the secondary participant grid, optionally showing a meeting progress timer in the corner. * Override hooks allow complete control over the inner layout and outer wrapper. * * ### Key Features * - Displays secondary/auxiliary grid for off-stage participants * - Optional meeting progress timer overlay (top-right corner) * - Toggle visibility with `showAspect` prop * - Custom timer background color * - Render overrides for content and container * * ### Layout * - Flexible dimensions via `width` and `height` * - Timer positioned absolutely in top-right * - Children wrapped in flex container * * ### Accessibility * - Timer includes accessible time display * - Structural grouping for screen readers * * @example * ```tsx * // Basic secondary grid with timer * * * * ``` * * @example * ```tsx * // Hidden aspect with custom timer color * * * * ``` * * @example * ```tsx * // With custom content overlay * ( * * {defaultContent} * * * )} * > * * * ``` */ declare const OtherGridComponent: React.FC; export default OtherGridComponent;