/**
 * platform_import_export Tool
 *
 * Import and export project configurations via the Studio REST API (v2).
 *
 * Endpoints (mounted at /api/projects/:projectId on the Studio origin):
 *   POST /export/preview  — Metadata preview (agents, tools, layers, deps)
 *   GET  /export          — Full export (file map + manifest + lockfile)
 *   POST /import/preview  — Dry-run import (preview changes)
 *   POST /import/apply    — Apply import (staged create/update/delete)
 *
 * After a successful import, if the uploaded files contain a project.json
 * with an entry_agent field, the project's entryAgentName is PATCHed
 * automatically.
 */
import { z } from 'zod';
import type { DebugContext } from './index.js';
export declare const platformImportExportSchema: z.ZodObject<{
    action: z.ZodEnum<["export_preview", "export", "import_preview", "import"]>;
    projectId: z.ZodString;
    data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
    path: z.ZodOptional<z.ZodString>;
    files: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
    confirm: z.ZodOptional<z.ZodBoolean>;
    previewDigest: z.ZodOptional<z.ZodString>;
    acknowledgedIssueIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
    autoAcknowledgeNonBlocking: z.ZodOptional<z.ZodBoolean>;
}, "strip", z.ZodTypeAny, {
    action: "export_preview" | "export" | "import_preview" | "import";
    projectId: string;
    path?: string | undefined;
    data?: Record<string, unknown> | undefined;
    confirm?: boolean | undefined;
    files?: Record<string, string> | undefined;
    previewDigest?: string | undefined;
    acknowledgedIssueIds?: string[] | undefined;
    autoAcknowledgeNonBlocking?: boolean | undefined;
}, {
    action: "export_preview" | "export" | "import_preview" | "import";
    projectId: string;
    path?: string | undefined;
    data?: Record<string, unknown> | undefined;
    confirm?: boolean | undefined;
    files?: Record<string, string> | undefined;
    previewDigest?: string | undefined;
    acknowledgedIssueIds?: string[] | undefined;
    autoAcknowledgeNonBlocking?: boolean | undefined;
}>;
type PlatformImportExportArgs = z.infer<typeof platformImportExportSchema>;
export declare function platformImportExport(args: PlatformImportExportArgs, ctx: DebugContext): Promise<string>;
export {};
//# sourceMappingURL=platform-import-export.d.ts.map