alinea
Version:
Headless git-based CMS
10 lines (9 loc) • 369 B
TypeScript
import { MemorySource } from './MemorySource.js';
import type { Source } from './Source.js';
import { type Tree } from './Tree.js';
export interface ExportedSource {
tree: Tree;
blobs: string;
}
export declare function exportSource(source: Source): Promise<ExportedSource>;
export declare function importSource(exported: ExportedSource): Promise<MemorySource>;