import React from 'react';
import { ServiceReturnType } from '@parlor/contexts/services-2';
import { AttachmentItemProps } from '@parlor/ui';
export type DocumentsContentProps = {
    addDocument: VoidFunction;
    documents: ServiceReturnType<'attachment', 'useList'>['data']['list']['edges'][number]['node'][];
    hasMore: boolean;
    isLoading: boolean;
    onDelete: AttachmentItemProps['onDelete'];
    onLoadMore: () => Promise<unknown>;
};
declare function DocumentsContentInner({ isLoading, documents, hasMore, onDelete, onLoadMore, addDocument, }: DocumentsContentProps): JSX.Element;
export declare const DocumentsContent: React.MemoExoticComponent<typeof DocumentsContentInner>;
export {};
