/**
 *
 * @param {import('interface-datastore').Datastore} store
 */
export function spec(store: import('interface-datastore').Datastore): {
    /**
     * Check if a datastore spec file exists.
     *
     */
    exists(): Promise<boolean>;
    /**
     * Get the current datastore spec.
     *
     * @returns {Promise<Uint8Array>}
     */
    get(): Promise<Uint8Array>;
    /**
     * Set the datastore spec of the repo, writing it to the underlying store.
     * TODO unclear on what the type should be or if it's required
     *
     * @param {any} spec
     * @returns {Promise<void>}
     */
    set(spec: any): Promise<void>;
};
//# sourceMappingURL=spec.d.ts.map