/** * Export service for palette output * * Provides JSON file export, clipboard export, and batch export support. * Uses Effect's FileSystem service for better testing and abstraction. */ import { FileSystem, Path } from "@effect/platform"; import { Effect } from "effect"; import type { BatchResult, PaletteResult } from "../PaletteService/palette.schema.js"; import type { ExportConfig } from "./export.schema.js"; declare const ExportError_base: new = {}>(args: import("effect/Types").Equals extends true ? void : { readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }) => import("effect/Cause").YieldableError & { readonly _tag: "ExportError"; } & Readonly; /** * Error when export operations fail */ export declare class ExportError extends ExportError_base<{ readonly message: string; readonly cause?: unknown; }> { } declare const ExportService_base: Effect.Service.Class Effect.Effect; /** * Export batch of palettes */ exportBatch: (batch: BatchResult, config: ExportConfig) => Effect.Effect; }, never, FileSystem.FileSystem | Path.Path>; readonly dependencies: readonly [import("effect/Layer").Layer, import("effect/Layer").Layer]; }>; /** * Export service using Effect.Service pattern */ export declare class ExportService extends ExportService_base { } export {}; //# sourceMappingURL=ExportService.d.ts.map