/** * OG tracking code system. * * Silently writes a unique identifier to ~/.milady/.og on first run. * The code is a random UUID. A set of 100 "winning" codes can be * generated deterministically from a secret seed (in MiladyMaker scripts). * This file is planted now; whitelist eligibility is revealed in a future update. */ /** * Write a random tracking UUID to ~/.milady/.og if it does not already exist. * Called once during startup. Silent on failure. */ export declare function initializeOGCode(): void; /** * Read the stored OG code, or null if it doesn't exist. */ export declare function readOGCode(): string | null; /** * Generate the set of valid OG codes from a seed. * Used in MiladyMaker scripts -- not called in the Milady app. */ export declare function generateValidCodes(seed: string, count: number): string[]; /** * Check if a given code is in the valid set. * Requires the seed to regenerate the valid codes. */ export declare function isValidOGCode(code: string, seed: string, count?: number): boolean; //# sourceMappingURL=og-tracker.d.ts.map