interface Pins {
    add(cid, options?): AsyncGenerator<CID<unknown, number, number, Version>, void, undefined>;
    get(cid, options?): Promise<Pin>;
    isPinned(cid, options?): Promise<boolean>;
    ls(options?): AsyncGenerator<Pin, void, undefined>;
    rm(cid, options?): AsyncGenerator<CID<unknown, number, number, Version>, void, undefined>;
    setMetadata(cid, metadata, options?): Promise<void>;
}

Methods