import type { ImageSourcePropType } from 'react-native'; import type { WindowInformation } from './WindowInformation'; export interface DashboardShortcutButtonConfig { titleVariants: Array; subtitleVariants: Array; image: ImageSourcePropType; onPress: () => void; } export interface DashboardConfig { id: string; component: React.ComponentType; onConnect?: (window: WindowInformation) => void; onDisconnect?: () => void; onSafeAreaInsetsChanged?: (e: { bottom: number; left: number; right: number; top: number; }) => void; /** * Buttons shown on the Dashboard when no navigation is active * up to 2 buttons can be placed in here according to Apple docs * https://developer.apple.com/documentation/carplay/cpdashboardcontroller/shortcutbuttons */ shortcutButtons?: Array; } //# sourceMappingURL=Dashbaord.d.ts.map