import { ReactNode } from 'react'; import { AlignmentType, DescriptionPlacementType, DiscriminatedItem } from '@graasp/sdk'; export declare const getDefaultFileAlignmentSetting: (mimetype?: string) => AlignmentType; type WithCaptionItem = { description: string | null; settings?: { descriptionPlacement?: DescriptionPlacementType; alignment?: AlignmentType; }; extra?: DiscriminatedItem['extra']; }; type WithCaptionProps = { item: T; }; export declare const CaptionWrapper: ({ item, children, }: WithCaptionProps & { children: ReactNode; }) => JSX.Element; export declare function withCaption({ item, }: WithCaptionProps): (component: JSX.Element) => JSX.Element; export default withCaption;