/** * Thanks flag value to label converter. * * Converts numeric thanks flag codes from the ProtoPedia API to labels. * * This flag controls whether the "Thank you for posting" message has been shown. * * @module utils/converters/thanks-flag */ import type { ThanksFlagCode } from '../../types/codes.js'; /** * Convert thanks flag code to label. * * @param thanksFlag - Thanks flag from NormalizedPrototype.thanksFlg (may be undefined for old data) * @returns Label or the numeric value as string, or '不明' for undefined * * @example * ```typescript * getPrototypeThanksFlagLabel(1); // => '初回表示済' * getPrototypeThanksFlagLabel(0); // => '0' * getPrototypeThanksFlagLabel(undefined); // => '不明' * ``` */ export declare const getPrototypeThanksFlagLabel: (thanksFlag: ThanksFlagCode) => string; //# sourceMappingURL=thanks-flag.d.ts.map