UNPKG

tf2-item-format

Version:
18 lines (17 loc) 695 B
import { ISchema } from '../types/schema'; type SchemaTextureExceptions = { item: Record<string, string[]>; texture: Record<string, string[]>; effect: Record<string, string[]>; }; /** * Iterates over effects object to get matching effect. */ export default function (name: string, attributes: { wear: any | null; schema: ISchema; }): string | void; export declare function getTextureExceptions(schema: ISchema): SchemaTextureExceptions; export declare function isTextureException(schema: ISchema, name: string, texture: string, hasWear: boolean): [boolean, string | null]; export declare function findTextureExceptions(schema: ISchema): SchemaTextureExceptions; export {};