import { UISchema } from '../types'; /** * Export options for JSON export */ export interface JSONExportOptions { /** Pretty print with indentation */ pretty?: boolean; /** Indentation spaces (default: 2) */ indent?: number; /** Include data context in export */ includeData?: boolean; /** Include metadata in export */ includeMeta?: boolean; } /** * Export result containing the exported content and metadata */ export interface ExportResult { /** Whether export was successful */ success: boolean; /** Exported content (code or JSON string) */ content?: string; /** File name suggestion */ filename?: string; /** MIME type for download */ mimeType?: string; /** Error message if export failed */ error?: string; } /** * Export UISchema to JSON format * * @param schema - The UISchema to export * @param options - Export options * @returns ExportResult with JSON string */ export declare function exportToJSON(schema: UISchema, options?: JSONExportOptions): ExportResult; /** * Vue3 export options */ export interface Vue3ExportOptions { /** Component name (PascalCase) */ componentName?: string; /** Use TypeScript */ typescript?: boolean; /** Include scoped styles */ scopedStyles?: boolean; } /** * Export UISchema to Vue3 Single File Component * * @param schema - The UISchema to export * @param options - Export options * @returns ExportResult with Vue SFC code */ export declare function exportToVue3(schema: UISchema, options?: Vue3ExportOptions): ExportResult; /** * React export options */ export interface ReactExportOptions { /** Component name (PascalCase) */ componentName?: string; /** Use TypeScript */ typescript?: boolean; /** Use functional component with hooks */ functional?: boolean; } /** * Export UISchema to React JSX/TSX * * @param schema - The UISchema to export * @param options - Export options * @returns ExportResult with React component code */ export declare function exportToReact(schema: UISchema, options?: ReactExportOptions): ExportResult; /** * Generate dependency declaration for package.json */ export interface DependencyInfo { name: string; version: string; dev?: boolean; } /** * Get dependencies for Vue3 export */ export declare function getVue3Dependencies(): DependencyInfo[]; /** * Get dependencies for React export */ export declare function getReactDependencies(): DependencyInfo[]; /** * Trigger file download in browser */ export declare function downloadExport(result: ExportResult): void; //# sourceMappingURL=export.d.ts.map