/** * @import { CallSiteInfo, CekStack, CekValue } from "../index.js" */ /** * @param {CekStack} stack * @param {CallSiteInfo | undefined} callSite * @returns {CekStack} */ export function pushStackCallSite(stack: CekStack, callSite: CallSiteInfo | undefined): CekStack; /** * @param {CekStack} stack * @param {CallSiteInfo[]} callSites * @returns {CekStack} */ export function pushStackCallSites(stack: CekStack, ...callSites: CallSiteInfo[]): CekStack; /** * @param {CekStack} stack * @param {CekValue} value * @returns {CekStack} */ export function pushStackValue(stack: CekStack, value: CekValue): CekStack; /** * @param {CekStack} stack * @param {CekValue} value * @param {CallSiteInfo | undefined} callSite * @returns {CekStack} */ export function pushStackValueAndCallSite(stack: CekStack, value: CekValue, callSite: CallSiteInfo | undefined): CekStack; /** * @param {CekStack} stack * @param {CekValue} value * @param {CallSiteInfo[]} callSites * @returns {CekStack} */ export function pushStackValueAndCallSites(stack: CekStack, value: CekValue, ...callSites: CallSiteInfo[]): CekStack; /** * @param {CekStack} stackWithValues * @param {CekStack} stackWithCallSites * @returns {CekStack} */ export function mixStacks(stackWithValues: CekStack, stackWithCallSites: CekStack): CekStack; /** * Only needed for debugging * Needed to add stack trace frames for variables like `self` * TODO: might introduce unnecessary overhead and thus require a flag to switch off * @param {CekStack} stack * @returns {CekValue | undefined} */ export function getLastSelfValue(stack: CekStack): CekValue | undefined; import type { CekStack } from "../index.js"; import type { CallSiteInfo } from "../index.js"; import type { CekValue } from "../index.js"; //# sourceMappingURL=CekStack.d.ts.map