import React from "react"; import { type VariantProps } from "../../../../../utils.js"; import type { FilePreviewDefaultProps } from "../../types.js"; import { previewVariants } from "../variants.js"; declare const textOnlyPreviewVariants: (props?: ({ small?: boolean | null | undefined; } & import("class-variance-authority/types").ClassProp) | undefined) => string; type TextOnlyPreviewProps = FilePreviewDefaultProps & React.HTMLAttributes & VariantProps & VariantProps; declare const TextOnlyPreview: (({ className, disabled, onRemoveItem, onReplaceItem, onEditItem, small, variant, value, ...props }: TextOnlyPreviewProps) => React.JSX.Element) & { original: ({ className, disabled, onRemoveItem, onReplaceItem, onEditItem, small, variant, value, ...props }: TextOnlyPreviewProps) => React.JSX.Element; originalName: string; displayName: string; } & { original: (({ className, disabled, onRemoveItem, onReplaceItem, onEditItem, small, variant, value, ...props }: TextOnlyPreviewProps) => React.JSX.Element) & { original: ({ className, disabled, onRemoveItem, onReplaceItem, onEditItem, small, variant, value, ...props }: TextOnlyPreviewProps) => React.JSX.Element; originalName: string; displayName: string; }; originalName: string; displayName: string; } & { createDecorator: (decorator: import("@webiny/react-composition/types.js").ComponentDecorator<(({ className, disabled, onRemoveItem, onReplaceItem, onEditItem, small, variant, value, ...props }: TextOnlyPreviewProps) => React.JSX.Element) & { original: ({ className, disabled, onRemoveItem, onReplaceItem, onEditItem, small, variant, value, ...props }: TextOnlyPreviewProps) => React.JSX.Element; originalName: string; displayName: string; }>) => (props: unknown) => React.JSX.Element; }; export { TextOnlyPreview, type TextOnlyPreviewProps };