import { Effect, ParseResult, Schema } from "effect";
import * as Hex from "./Hex.js";
declare const SerializationError_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: "SerializationError";
} & Readonly;
export declare class SerializationError extends SerializationError_base<{
message?: ParseResult.ParseError;
}> {
}
/**
* Serialization function interfaces for encoding and decoding data
*
* @since 1.0.0
* @category encoding/decoding
*/
/**
* Base serialization function type
*
* @since 1.0.0
* @category model
*/
export interface SerializationFn {
(input: Input): Effect.Effect