import { type FileOptions } from "@effect-app/infra/fileUtil"; import { Config, Context, Effect, Layer, Option, S } from "effect-app"; export declare const PrinterId: S.WithDefaults, "Iso" | "Type" | "~type.make"> & { readonly Type: S.NonEmptyString255; readonly Iso: S.NonEmptyString255; readonly "~type.make": S.NonEmptyString255; }> & Omit, "Iso" | "Type" | "~type.make"> & { readonly Type: S.NonEmptyString255; readonly Iso: S.NonEmptyString255; readonly "~type.make": S.NonEmptyString255; }; export type PrinterId = S.NonEmptyString255; export declare const prepareTempDir: Effect.Effect; export declare const makePrintJobTempFile: (data: string | AsyncIterable> | Iterable> | import("node:stream") | NodeJS.ArrayBufferView, options?: FileOptions) => Effect.Effect; export declare const makePrintJobTempFileArrayBuffer: (buffer: ArrayBuffer, options?: FileOptions) => Effect.Effect; export declare const CUPSConfig: Config.Config<{ server: Option.Option; }>; declare const CUPS_base: Context.ServiceClass Effect.Effect<{ stdout: string; stderr: string; }, import("effect/Cause").UnknownError, never>; printFile: (filePath: string, printerId: PrinterId, ...options: string[]) => Effect.Effect<{ stdout: string; stderr: string; }, import("effect/Cause").UnknownError, never>; getAvailablePrinters: Effect.Effect; }> & { readonly make: Effect.Effect<{ print: (buffer: ArrayBuffer, printerId: PrinterId, ...options: string[]) => Effect.Effect<{ stdout: string; stderr: string; }, import("effect/Cause").UnknownError, never>; printFile: (filePath: string, printerId: PrinterId, ...options: string[]) => Effect.Effect<{ stdout: string; stderr: string; }, import("effect/Cause").UnknownError, never>; getAvailablePrinters: Effect.Effect; }, Config.ConfigError, never>; }; export declare class CUPS extends CUPS_base { static readonly Fake: Layer.Layer; } export {}; //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiQ1VQUy5kLnRzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vc3JjL0NVUFMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLEtBQUssV0FBVyxFQUFZLE1BQU0sNEJBQTRCLENBQUE7QUFFdkUsT0FBTyxFQUFFLE1BQU0sRUFBRSxPQUFPLEVBQUUsTUFBTSxFQUFFLEtBQUssRUFBRSxNQUFNLEVBQWEsQ0FBQyxFQUFFLE1BQU0sWUFBWSxDQUFBO0FBUWpGLGVBQU8sTUFBTSxTQUFTOzs7Ozs7OztDQUFzQixDQUFBO0FBQzVDLE1BQU0sTUFBTSxTQUFTLEdBQUcsQ0FBQyxDQUFDLGlCQUFpQixDQUFBO0FBdUMzQyxlQUFPLE1BQU0sY0FBYyxtQ0FVekIsQ0FBQTtBQUdGLGVBQU8sTUFBTSxvQkFBb0Isb1VBQTRCLENBQUE7QUFDN0QsZUFBTyxNQUFNLCtCQUErQixXQUFZLFdBQVcsWUFBWSxXQUFXLDZGQUN0QyxDQUFBO0FBeUJwRCxlQUFPLE1BQU0sVUFBVTs7RUFRckIsQ0FBQTs7b0JBTXlCLFdBQVcsYUFBYSxTQUFTLGNBQWMsTUFBTSxFQUFFOzs7OzBCQVN0RCxNQUFNLGFBQWEsU0FBUyxjQUFjLE1BQU0sRUFBRTs7Ozs7Ozs7Ozs7Ozs7Ozs7O0FBYjlFLHFCQUFhLElBQUssU0FBUSxTQXFCeEI7SUFDQSxNQUFNLENBQUMsUUFBUSxDQUFDLElBQUksa0NBK0JuQjtDQUNGIn0=