import type { ImageSourcePropType } from 'react-native'; export interface DashboardShortcutButtonConfig { titleVariants: Array; subtitleVariants: Array; image: ImageSourcePropType; onPress: () => void; /** * set to true so your CarPlay scene will be launched when the button is pressed */ launchCarplayScene?: boolean; } export interface DashboardConfig { id: string; component: React.ComponentType; /** * 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; onStateChanged?: (isVisible: boolean) => void; } //# sourceMappingURL=Dashboard.d.ts.map