import type estree from 'estree';
/**
 * Return a function literal that runs as a call target or template tag.
 *
 * `(function () {})()` and `(0, () => {})()` return their function.
 * `(function* () {})()` and `(function () {}).call()` do not.
 * The `.call` method can be replaced, so calling it might not run the function body.
 */
export declare function getImmediatelyInvokedFunction(expression: estree.Node): estree.FunctionExpression | estree.ArrowFunctionExpression | undefined;
/**
 * Return a synchronous constructor function literal.
 *
 * `new (function () {})()` returns its function. An async function and an arrow do not.
 */
export declare function getImmediatelyConstructedFunction(expression: estree.Node): estree.FunctionExpression | undefined;
