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<HTMLImageElement>) => void;
    /** Reference to a button element. */
    ref?: Ref<HTMLDivElement>;
}
export declare const StyledFileVisual: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
export declare const StyledTextFrame: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<Omit<import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, 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<HTMLDivElement> | null | undefined;
}, never>> & string;
declare const FileVisual: ForwardRefForwardPropsComponent<FileVisualProps>;
export default FileVisual;
//# sourceMappingURL=FileVisual.d.ts.map