UNPKG

@skyware/labeler

Version:

A lightweight alternative to Ozone for operating an atproto labeler.

5 lines (4 loc) 331 B
import { NonNullishPartial } from "./types.js"; export declare function excludeNullish<T extends Record<PropertyKey, unknown>>(obj: T): NonNullishPartial<T>; export declare function frameToBytes(type: "error", body: unknown): Uint8Array; export declare function frameToBytes(type: "message", body: unknown, t: string): Uint8Array;