import { z } from "zod"; import { type StorageClient } from "../storage/client.js"; export declare const READ_CONCURRENCY: number; export declare const exportWikiInputSchema: z.ZodObject<{ outputPath: z.ZodOptional; includeSystem: z.ZodDefault; folder: z.ZodOptional; tags: z.ZodOptional>; }, "strip", z.ZodTypeAny, { includeSystem: boolean; tags?: string[] | undefined; folder?: string | undefined; outputPath?: string | undefined; }, { tags?: string[] | undefined; folder?: string | undefined; outputPath?: string | undefined; includeSystem?: boolean | undefined; }>; export type ExportWikiInput = z.infer; export declare function mapConcurrent(items: T[], concurrency: number, fn: (item: T) => Promise): Promise; export declare function buildExportZip(drive: StorageClient, options: { includeSystem?: boolean; folder?: string; tags?: string[]; /** ISO datetime — only include pages with content modified > changedAfter. */ changedAfter?: string; /** User ID for Postgres index lookups. */ userId?: string; }): Promise<{ buffer: Buffer; pageCount: number; skippedCount: number; generatedAt: string; since?: string; files: Array<{ name: string; size: number; modifiedTime: string; }>; errors: Array<{ name: string; reason: string; }>; }>; export declare function exportWiki(drive: StorageClient, input: ExportWikiInput, userId?: string): Promise; //# sourceMappingURL=exportWiki.d.ts.map