import { Schema } from "@peleicht/tf2-schema"; import { ParsedSchema, Enum, NumEnum } from "../types/index.js"; import EGrades from "../enums/EGrades.js"; export declare function makeSchema(steam_api_key: string): Promise; /** * Normalizes the names in the Schema, writes them to item.norm_item_name. Updated promos, then restarts bot if anything changed. */ export declare function parseSchema(schema: Schema): [ParsedSchema, ParsedSchema, ParsedSchema, NumEnum]; /** * Gets all Promo/Strange/Decorated Items that have multiple different def_index. Use via promos[def_index] || def_index. Watch out for bat promo :) */ export declare function getPromos(mod_schema: ParsedSchema): NumEnum; /** * Gets all Unusual Effects and their corresponding IDs. Writes the results to EUnusualEffects.json. */ export declare function updateUnusuals(unus: any[]): Enum; /** * Gets all Textures and their corresponding IDs. Writes the result to ETextures.json. * @returns An Object with name and id attributes */ export declare function updateTextures(schema_textures: Enum): Enum; export declare function makeGradeMap(schema: Schema): Map; /** * Safely writes files to /data (or /enums if target starts with E). * @param data * @param target File Name before the . * @param fancy Makes the file more readable, but bigger. Default true. * @returns success */ export declare function saveFile(data: string | any, target: string, fancy?: boolean): Promise;