/**
 * Get and handle a particular post by it's tag and hash
 * @module Posts
 * @group Posts
 */
/**
 * A list of posts
 */
export type PostList = Record<string, Record<string, string>>;
/**
 * Use a list of immutable data from a #tag
 * @example
 * import { usePosts } from '@gun-vue/composables'
 *
 * const { posts, timestamps, count, uploadPosts, downloadPosts} = usePosts('MyTag')
 */
export declare function usePosts(tag: string): {
    posts: PostList;
    backlinks: PostList;
    countPosts: import("vue").ComputedRef<number>;
    countBacklinks: import("vue").ComputedRef<number>;
    downloadPosts: () => Promise<void>;
    downloading: import("vue").Ref<boolean>;
    uploadPosts: (ev: any) => void;
};
/**
 * Export a list of posts as a zip file
 * @async
 * @example
 * import {downloadFeed} from '@gun-vue/components'
 *
 * downloadFeed('myTag',posts)
 */
export declare function downloadFeed(tag: string, posts: PostList): Promise<boolean>;
/**
 * Upload zip files and add all the MD files from it to the tag
 * @example
 * import { uploadFeed } from '@gun-vue/composables'
 * @example @lang html
 * <input type="file" @change="uploadFeed( 'myTag', $event.target.files )" />
 */
export declare function uploadFeed(tag: string, files: FileList): void;
//# sourceMappingURL=usePosts.d.ts.map