export declare function useAttachmentUpload(): (file: File) => Promise<{
    __typename?: "Attachment";
    _id: string;
    pending: boolean;
    uploaded: boolean;
    fileName: string;
    extension: string;
    size?: number;
    url?: string;
    uploadUrl?: string;
}>;
