# Installation
> `npm install --save @types/rdfjs__serializer-rdfjs`

# Summary
This package contains type definitions for @rdfjs/serializer-rdfjs (https://github.com/rdfjs-base/serializer-rdfjs).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/rdfjs__serializer-rdfjs.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/rdfjs__serializer-rdfjs/index.d.ts)
````ts
import { BaseQuad, Quad, Sink, Stream } from "@rdfjs/types";
import { EventEmitter } from "events";

export interface SerializerOptions {
    module?: "commonjs" | "ts" | undefined;
}

export default class Serializer<Q extends BaseQuad = Quad> implements Sink<Stream<Q>, EventEmitter> {
    constructor(options?: SerializerOptions);

    import(stream: Stream<Q>, options?: SerializerOptions): EventEmitter;
    transform(quads: Iterable<Q>): string;
}

````

### Additional Details
 * Last updated: Thu, 30 May 2024 09:07:57 GMT
 * Dependencies: [@rdfjs/types](https://npmjs.com/package/@rdfjs/types)

# Credits
These definitions were written by [tpluscode](https://github.com/tpluscode), and [Benjamin Hofstetter](https://github.com/BenjaminHofstetter).
