import React from 'react'; import { BoxProps } from './ViewOnly.styles'; export type ViewOnlyProps = React.PropsWithChildren<{ size?: BoxProps['$size']; hasCancel?: boolean; hasCheck?: boolean; }>; export interface WithViewOnly { viewOnly?: boolean; viewOnlyText?: React.ReactNode; } export interface WithViewOnlyAndDisabledIcon extends WithViewOnly { viewOnlyDisableIcon?: boolean; } export declare const ViewOnly: { ({ children, size, hasCancel, hasCheck }: ViewOnlyProps): React.JSX.Element; displayName: string; };