/** * CaptureHeader — top-of-screen header for any capture surface. * * ┌──────────────────────────────────────────────────────────┐ * │ ‹ Back Cola Promo End Cap │ * │ Photograph the promotional cola end cap. │ * └──────────────────────────────────────────────────────────┘ * * Two stacked rows — title row (back arrow + centred title) and an * optional guidance line below. Lives in the SDK so every capture * surface gets identical chrome without re-implementing safe-area * handling, accessibility labels, and contrast on a black preview. * * Theming: * The host has its own theme system; rather than coupling the SDK * to it, the component exposes a small set of color props * (defaulted to white-on-black for visibility against the camera * preview). Hosts that want to override pass `colors`. */ import React from 'react'; import { type StyleProp, type ViewStyle } from 'react-native'; export interface CaptureHeaderProps { /** The audit / surface title. Centred horizontally. */ title: string; /** * Called when the back affordance is pressed. If omitted, the * back button is hidden entirely (use this for surfaces invoked * as a top-level tab where back doesn't make sense). */ onBack?: () => void; /** Custom label for the back button. Defaults to "‹ Back". */ backLabel?: string; /** * Called when the gear / settings affordance is pressed. If * omitted, no settings icon is rendered. Wire this to the * host's PanoramaSettingsModal `visible` state. */ onSettingsPress?: () => void; /** * Optional second-line guidance text shown below the title row. * Renders nothing if absent. */ guidance?: string; /** * Top inset in pixels. Pass `useSafeAreaInsets().top` from * react-native-safe-area-context if your app uses it; otherwise a * sensible default is applied. */ topInset?: number; /** Override the default text/background colors. */ colors?: { background?: string; title?: string; accent?: string; guidanceBackground?: string; guidanceText?: string; }; /** Additional style applied to the outer container. */ style?: StyleProp; } export declare function CaptureHeader({ title, onBack, backLabel, onSettingsPress, guidance, topInset, colors, style, }: CaptureHeaderProps): React.JSX.Element; //# sourceMappingURL=CaptureHeader.d.ts.map