/**
 * The `ISerializer` contract defines a standard way to serialize plain data, excluding support for custom classes.
 *
 * IMPORT_PATH: `"@daiso-tech/core/serde/contracts"`
 * @group Contracts
 */
export type ISerializer<TSerializedValue = unknown> = {
    /**
     * @throws {SerializationSerdeError} {@link SerializationSerdeError}
     */
    serialize<TValue>(value: TValue): TSerializedValue;
};
