@yogesh0333/yogiway
Version:
YOGIWAY Format - Ultra-compact, nested-aware data format for LLM prompts. Handles deeply nested JSON efficiently, 10-15% more efficient than TOON.
34 lines • 1.9 kB
TypeScript
/**
* Main entry point - exports all YOGIWAY and PATHX functionality
*/
import { encode, decode, type YogiwayEncodeOptions, type YogiwayDecodeOptions, type YogiwayMode } from "./index";
import { pathxEncode, pathxDecode, pathxToDebugString, validatePathx, type PathxEncodeOptions, type PathxDecodeOptions } from "./pathx";
import { yogiwayToPathx, pathxToYogiway, toPathx, fromPathx, toYogiway, fromYogiway, smartEncode } from "./converter";
import { activateLicense, verifyLicense, checkLicense, clearLicense, getRemainingTrialDays, type LicenseInfo } from "./license";
export { encode, decode, type YogiwayEncodeOptions, type YogiwayDecodeOptions, type YogiwayMode, };
export { pathxEncode, pathxDecode, pathxToDebugString, validatePathx, type PathxEncodeOptions, type PathxDecodeOptions, };
export { yogiwayToPathx, pathxToYogiway, toPathx, fromPathx, toYogiway, fromYogiway, smartEncode, };
export { activateLicense, verifyLicense, checkLicense, clearLicense, getRemainingTrialDays, type LicenseInfo, };
export { trackUsage, getWalletBalance, setUserEmail, type UsageStats, } from "./usage-tracker";
export { login, register, logout, getCurrentUser, isAuthenticated, getAccessToken, clearAuth, authenticatedFetch, type AuthUser, type AuthResponse, } from "./auth";
declare const _default: {
encode: typeof encode;
decode: typeof decode;
pathx: {
encode: typeof pathxEncode;
decode: typeof pathxDecode;
toDebugString: typeof pathxToDebugString;
validate: typeof validatePathx;
};
converter: {
yogiwayToPathx: typeof yogiwayToPathx;
pathxToYogiway: typeof pathxToYogiway;
toPathx: typeof toPathx;
fromPathx: typeof fromPathx;
toYogiway: typeof toYogiway;
fromYogiway: typeof fromYogiway;
smartEncode: typeof smartEncode;
};
};
export default _default;
//# sourceMappingURL=main.d.ts.map