import { ReactNode } from 'react';
import { Attachment } from '@parlor/common/amplify-schema';
type AttachmentPreviewContextProps = {
    children?: ReactNode;
};
export declare const useAttachmentPreview: () => {
    closePreview: () => void;
    openPreview: (attachment: Attachment | File) => void;
};
export declare function AttachmentPreviewProvider({ children }: AttachmentPreviewContextProps): JSX.Element;
export {};
