//#region src/index.d.ts /** * Runtime library for TypeScript operator overloading polyfill */ declare global { interface SymbolConstructor { readonly deferOperation: unique symbol; readonly operatorPlus: unique symbol; readonly operatorMinus: unique symbol; readonly operatorStar: unique symbol; readonly operatorSlash: unique symbol; readonly operatorStarStar: unique symbol; readonly operatorPercent: unique symbol; readonly operatorEqEq: unique symbol; readonly operatorPrePlusPlus: unique symbol; readonly operatorPreMinusMinus: unique symbol; readonly operatorPostPlusPlus: unique symbol; readonly operatorPostMinusMinus: unique symbol; readonly operatorPreMinus: unique symbol; } } /** * `true` if the user uses the `tsover` Language Server, `false` if the user is using the * standard TypeScript Language Server or has opted out via `tsover-runtime/disable`. */ type TsoverEnabled = typeof globalThis extends { __tsover__disabled: true; } ? false : typeof globalThis extends { __tsover__enabled: true; } ? true : false; declare const Operator: { readonly deferOperation: typeof Symbol.deferOperation; readonly plus: typeof Symbol.operatorPlus; readonly minus: typeof Symbol.operatorMinus; readonly star: typeof Symbol.operatorStar; readonly slash: typeof Symbol.operatorSlash; readonly starStar: typeof Symbol.operatorStarStar; readonly percent: typeof Symbol.operatorPercent; readonly eqEq: typeof Symbol.operatorEqEq; readonly prePlusPlus: typeof Symbol.operatorPrePlusPlus; readonly preMinusMinus: typeof Symbol.operatorPreMinusMinus; readonly postPlusPlus: typeof Symbol.operatorPostPlusPlus; readonly postMinusMinus: typeof Symbol.operatorPostMinusMinus; readonly preMinus: typeof Symbol.operatorPreMinus; }; //#endregion export { Operator, TsoverEnabled };