import type { CollectedContent, ZipGeneratorOptions, ZipResult } from "./types.js"; /** * Valida `basePath` antes de escribir nada (#207). Devuelve el directorio * absoluto resuelto o el motivo del rechazo. * * - Tiene que ser una ruta absoluta: una relativa depende del cwd que fija * el cliente, que el modelo no conoce. * - `~` no se expande: Node lo trataría como un directorio literal. * - Ningún segmento `..`: la ruta no puede salir del directorio indicado * después de resolverla. */ export declare function resolveBasePath(basePath: string): { ok: true; dir: string; } | { ok: false; reason: string; }; export declare function generateZip(content: CollectedContent, options: ZipGeneratorOptions & { basePath: string; }): Promise; /** * Path of a template inside the archive. Views share names across folders * (`site/base/show.html.liquid`, `site/search/show.html.liquid`), so their * directory keeps the template path instead of the name alone. */ export declare function templateArchivePath(template: { name: string; path: string; category: string; }): string; //# sourceMappingURL=zipGenerator.d.ts.map