import type { Ref, SyntheticEvent } from 'react'; import type { ForwardRefForwardPropsComponent, BaseProps } from '../../types'; import type { AttachmentType } from './utils'; export interface FileVisualProps extends BaseProps { /** Attachment/File type, it has an impact on background color and icon rendered. */ type: AttachmentType; /** A string to be used as an image src for a attachment thumbnail. */ thumbnail?: string; /** Called when a thumbnail encounters an error while loading. */ onThumbnailError?: (e: SyntheticEvent) => void; /** Reference to a button element. */ ref?: Ref; } export declare const StyledFileVisual: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit, HTMLDivElement>, never>> & string; export declare const StyledTextFrame: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit, HTMLDivElement>, never>, "ref"> & { ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject | null | undefined; }, never>> & string; declare const FileVisual: ForwardRefForwardPropsComponent; export default FileVisual; //# sourceMappingURL=FileVisual.d.ts.map