/** * Data structure that makes it easy to interact with a bitfield. */ export declare class Bitfield { bitfield?: bigint; constructor(...bits: bigint[]); /** * Checks whether the bitfield has a bit * @param {bigint} bit Bit to check for */ has(bit: bigint): boolean; /** * Adds bits to these ones. * @param {...bigint} [bits] Bits to add */ add(...bits: bigint[]): this; /** * Removes bits from these. * @param {...BitFieldResolvable} [bits] Bits to remove * @returns {BitField} These bits or new BitField if the instance is frozen. */ remove(...bits: bigint[]): this; disallowAll(): void; allowAll(): void; toJSON(): string | null; }