import { Attachment } from '../../../../../../../api/types';
import { ReactNode } from 'react';
export declare function useAttachments(): {
    loading: boolean;
    attachment: File | Attachment;
    removeAttachment: () => void;
    addAttachment: (file: File | Attachment) => void;
};
declare type Props = {
    children: ReactNode;
    name: string;
};
export declare function AttachmentsProvider({ children, name }: Props): JSX.Element;
export {};
