/**
 * Read and write zip files
 * @module Zip
 * @group Files
 * @see https://github.com/Stuk/jszip
 * */
import JSZip from "jszip";
import type { MdContent } from "./useMd";
/**
 * Zip file creation toolbox
 * @example
 * import { useZip } from '@gun-vue/composables'
 * const { zip, zipPost, addMd, addFile, downloadZip } = useZip()
 */
export declare function useZip(): {
    zip: JSZip;
    zipPost: (post: {
        text?: string;
        title?: string;
        statement?: string;
        content?: string;
    }) => Promise<void>;
    addMd: ({ md, title }: {
        md: MdContent;
        title: string;
    }) => void;
    addFile: ({ title, file, folder }: {
        title: string;
        file: string;
        folder?: string;
    }) => Promise<string>;
    downloadZip: ({ title }?: {
        title?: string;
    }) => Promise<boolean>;
};
//# sourceMappingURL=useZip.d.ts.map