import type { FnBody0 } from "@thi.ng/shader-ast";
import { defMain } from "@thi.ng/shader-ast/ast/function";
/**
 * Same as
 * [`defMain`](https://docs.thi.ng/umbrella/shader-ast/functions/defMain.html),
 * but applies optimizations (e.g. {@link constantFolding}) to the given
 * function body.
 *
 * @param fn
 */
export declare const defOptimized: (fn: FnBody0) => ReturnType<typeof defMain>;
//# sourceMappingURL=defoptimized.d.ts.map