export interface YGOProDeckLike { main: number[]; extra: number[]; side: number[]; name?: string; } export default class YGOProDeck implements YGOProDeckLike { main: number[]; extra: number[]; side: number[]; name?: string; constructor(init?: Partial); bufferLength(noCompact?: boolean): number; toUint8Array(noCompact?: boolean): Uint8Array; toEncodedString(noCompact?: boolean): string; toString(noCompact?: boolean): string; fromUint8Array(buf: Uint8Array): this; static fromUint8Array(buf: Uint8Array): YGOProDeck; fromEncodedString(str: string): this; static fromEncodedString(str: string): YGOProDeck; toYdkString(): string; fromYdkString(str: string): this; static fromYdkString(str: string): YGOProDeck; fromUpdateDeckPayload(buf: Uint8Array, isExtraDeckCard?: (code: number, i: number, mainc: number) => boolean): this; static fromUpdateDeckPayload(buf: Uint8Array, isExtraDeckCard?: (code: number, i: number, mainc: number) => boolean): YGOProDeck; toUpdateDeckPayload(): Uint8Array; fromYGOMobileDeckURL(uri: string): YGOProDeck; static fromYGOMobileDeckURL(uri: string): YGOProDeck; toYGOMobileDeckURL(): string; fromYdkeURL(uri: string): YGOProDeck; static fromYdkeURL(uri: string): YGOProDeck; toYdkeURL(): string; isEqual(other: YGOProDeckLike, options?: { ignoreOrder?: boolean; }): boolean; }