import "./document_card.css"; import type * as React from "react"; import { useRender } from "@base-ui/react/use-render"; import { type StyleProps } from "./style_props"; interface DocumentCardProps extends StyleProps { mimeType: string; filename: string; size?: number; isTemplate?: boolean; onPress?: () => void; /** The press TOGGLES a state and this is it — announced as `aria-pressed`, * `false` included, because an unpressed toggle that says nothing announces * as an ordinary button. Omit wherever the press does something else. */ pressed?: boolean; /** Drawn over the whole tile — an upload scrim, a status wash. */ overlay?: React.ReactNode; /** Accessible name for the tile. Defaults to `filename` (which the tile also shows). */ accessibilityLabel?: string; testID?: string; ref?: React.Ref; render?: useRender.RenderProp; } /** Document tile: the file-type badge centred with the filename directly below * it. For readable filenames in a list, reach for `FileRow` instead. */ export declare function DocumentCard(props: DocumentCardProps): React.ReactElement>; export {};