default: { comment: { color: ((i) => i is "white" | "red" | "pink" | "orange" | "yellow" | "green" | "cyan" | "blue" | "purple" | "black" | "white2" | "niconicowhite" | "red2" | "truered" | "pink2" | "orange2" | "passionorange" | "yellow2" | "madyellow" | "green2" | "elementalgreen" | "cyan2" | "blue2" | "marinblue" | "purple2" | "nobleviolet" | "black2"); colorCode: ((i) => i is string); colorCodeAllowAlpha: ((i) => i is string); command: { key: ((i) => i is "full" | "ender" | "_live" | "invisible"); }; font: ((i) => i is "defont" | "mincho" | "gothic" | "gulim" | "simsun"); loc: ((i) => i is "ue" | "naka" | "shita"); size: ((i) => i is "big" | "small" | "medium"); }; config: { initOptions: ((item) => item is Partial<BaseOptions>); }; formatted: { comment: ((i) => i is { content: string; date: number; date_usec: number; id: number; is_my_post: boolean; layer: number; mail: string[]; owner: boolean; premium: boolean; user_id: number; vpos: number; }); comments: ((i) => i is { content: string; date: number; date_usec: number; id: number; is_my_post: boolean; layer: number; mail: string[]; owner: boolean; premium: boolean; user_id: number; vpos: number; }[]); legacyComment: ((i) => i is { content: string; date: number; date_usec: number; id: number; mail: string[]; owner: boolean; premium: boolean; vpos: number; }); legacyComments: ((i) => i is { content: string; date: number; date_usec: number; id: number; mail: string[]; owner: boolean; premium: boolean; vpos: number; }[]); }; internal: { CommentMeasuredContentItem: ((i) => i is { char: string; charWidth: number; count: number; font?: "defont" | "gulim" | "simsun"; isButton?: boolean; type: "spacer"; } | (({ type: "spacer"; char: string; charWidth: number; count: number; font?: "defont" | "gulim" | "simsun" | undefined; isButton?: boolean | undefined; } | { type: "text"; content: string; slicedContent: string[]; width?: number[] | undefined; font?: "defont" | ... 2 more ... | undefined; isButton?: boolean | undefined...
)); CommentMeasuredContentItemArray: ((i) => i is ({ char: string; charWidth: number; count: number; font?: "defont" | "gulim" | "simsun"; isButton?: boolean; type: "spacer"; } | (({ type: "spacer"; char: string; charWidth: number; count: number; font?: "defont" | "gulim" | "simsun" | undefined; isButton?: boolean | undefined; } | { type: "text"; content: string; slicedContent: string[]; width?: number[] | undefined; font?: "defont" | ... 2 more ... | undefined; isButton?: boolean | undefined...
))[]); HTML5Fonts: ((i) => i is "defont" | "mincho" | "gothic"); MeasureInput: ((i) => i is { charSize: number; content: ({ char: string; charWidth: number; count: number; font?: "defont" | "gulim" | "simsun"; isButton?: boolean; type: "spacer"; } | { content: string; font?: "defont" | "gulim" | "simsun"; isButton?: boolean; slicedContent: string[]; type: "text"; width?: number[]; })[]; font: "defont" | "mincho" | "gothic" | "gulim" | "simsun"; lineCount: number; lineHeight: number; }); MultiConfigItem: (<T>(i) => i is MultiConfigItem<T>); }; legacy: { apiChat: ((i) => i is { anonymity: number; content: string; date: number; date_usec: number; deleted: number; mail: string; nicoru: number; no: number; premium: number; thread: string; user_id: string; vpos: number; }); apiGlobalNumRes: ((i) => i is { num_res: number; thread: string; }); apiLeaf: ((i) => i is { count: number; thread: string; }); apiPing: ((i) => i is { content: string; }); apiThread: ((i) => i is { resultcode: number; revision: number; server_time: number; thread: string; ticket: string; }); rawApiResponses: ((i) => i is ({ chat: { anonymity: number; content: string; date: number; date_usec: number; deleted: number; mail: string; nicoru: number; no: number; premium: number; thread: string; user_id: string; vpos: number; }; } | {})[]); }; legacyOwner: { comments: ((i) => i is string); }; nicoScript: { range: { target: ((i) => i is "コメ" | "投コメ" | "全"); }; replace: { condition: ((i) => i is "部分一致" | "完全一致"); range: ((i) => i is "全" | "単"); target: ((i) => i is "コメ" | "投コメ" | "全" | "含まない" | "含む"); }; }; owner: { comment: ((i) => i is { command: string; comment: string; time: string; }); comments: ((i) => i is { command: string; comment: string; time: string; }[]); }; v1: { comment: ((i) => i is { body: string; commands: string[]; id: string; isMyPost: boolean; isPremium: boolean; nicoruCount: number; nicoruId: null | string; no: number; postedAt: string; score: number; source: string; userId: string; vposMs: number; }); comments: ((i) => i is { body: string; commands: string[]; id: string; isMyPost: boolean; isPremium: boolean; nicoruCount: number; nicoruId: null | string; no: number; postedAt: string; score: number; source: string; userId: string; vposMs: number; }[]); thread: ((i) => i is { commentCount: number; comments: { body: string; commands: string[]; id: string; isMyPost: boolean; isPremium: boolean; nicoruCount: number; nicoruId: null | string; no: number; postedAt: string; score: number; source: string; userId: string; vposMs: number; }[]; fork: string; id: unknown; }); threads: ((i) => i is { commentCount: number; comments: { body: string; commands: string[]; id: string; isMyPost: boolean; isPremium: boolean; nicoruCount: number; nicoruId: null | string; no: number; postedAt: string; score: number; source: string; userId: string; vposMs: number; }[]; fork: string; id: unknown; }[]); }; xml2js: { chat: ((i) => i is { chat: { $: { date: string; date_usec: string; mail: string; no?: string; owner: string; premium: string; user_id?: string; vpos: string; }; _: string; }[]; }); chatItem: ((i) => i is { $: { date: string; date_usec: string; mail: string; no?: string; owner: string; premium: string; user_id?: string; vpos: string; }; _: string; }); packet: ((i) => i is { packet: { chat: { $: { date: string; date_usec: string; mail: string; no?: string; owner: string; premium: string; user_id?: string; vpos: string; }; _: string; }[]; }; }); }; xmlDocument: ((i) => i is XMLDocument); } = ...