/**
 * Internal utility to call a function with a specific stack frame.
 */
export declare function useStack<T, R>(stack: T[], frame: T, fn: () => R): R;
