import "./back_button.css"; import type * as React from "react"; import { Button as Base } from "@base-ui/react/button"; import { type StyleProps, type TriggerProps } from "./style_props"; export interface BackButtonProps extends StyleProps, TriggerProps { onPress?: (event: React.MouseEvent) => void; /** * Names where back goes ("Orders"), inside the same pressable as the glyph. Omit for the bare * glyph. */ label?: string; /** Defaults to `label`, else the locale's `nav.back`. */ accessibilityLabel?: string; testID?: string; ref?: React.Ref; render?: Base.Props["render"]; } /** * THE go-back control that heads a surface: one purpose, so no size or colour props. A drawer * header's inline arrow beside a title is an `IconButton` instead. The disc is a part, since the * labelled form is one pressable and a nested `IconButton` would be a button in a button. Its ink * is its own, not borrowed from a button palette; only the 40px band height is shared. */ export declare function BackButton(props: BackButtonProps): React.JSX.Element;