UNPKG

@4players/odin-common

Version:

A collection of commonly used type definitions and utility functions across ODIN web projects

12 lines (11 loc) 398 B
import * as z from 'zod'; export declare class ChannelSet { private value; constructor(value?: bigint); from(...channels: number[]): ChannelSet; contains(channel: number): boolean; insert(channel: number): void; remove(channel: number): void; [Symbol.iterator](): Iterator<number>; } export declare const ChannelSetSchema: z.ZodEffects<z.ZodBigInt, ChannelSet, bigint>;