import * as Context from "effect/Context"; import * as Effect from "effect/Effect"; import * as Layer from "effect/Layer"; /** * @since 1.0.0 * @category type ids */ export declare const TypeId: unique symbol; /** * @since 1.0.0 * @category type ids */ export type TypeId = typeof TypeId; /** * @since 1.0.0 * @category interface */ export interface Clipboard { readonly [TypeId]: TypeId; readonly read: Effect.Effect; readonly readString: Effect.Effect; readonly write: (items: ClipboardItems) => Effect.Effect; readonly writeString: (text: string) => Effect.Effect; readonly writeBlob: (blob: Blob) => Effect.Effect; readonly clear: Effect.Effect; } /** * @since 1.0.0 * @category type ids */ export declare const ErrorTypeId: unique symbol; /** * @since 1.0.0 * @category type ids */ export type ErrorTypeId = typeof ErrorTypeId; declare const ClipboardError_base: new >(args: import("effect/Types").Simplify) => import("effect/Cause").YieldableError & Record & { readonly _tag: "ClipboardError"; } & Readonly; /** * @since 1.0.0 * @category errors */ export declare class ClipboardError extends ClipboardError_base<{ readonly message: string; readonly cause: unknown; }> { } /** * @since 1.0.0 * @category tag */ export declare const Clipboard: Context.Tag; /** * @since 1.0.0 * @category constructor */ export declare const make: (impl: Omit) => Clipboard; /** * A layer that directly interfaces with the navigator.clipboard api * * @since 1.0.0 * @category layers */ export declare const layer: Layer.Layer; export {}; //# sourceMappingURL=Clipboard.d.ts.map